Singer Instruments PIXL Client
Initialise(ApiCommandResponseCallback) Method
Example 



SI.PIXL.Client Namespace > PIXLClient Class > Initialise Method : Initialise(ApiCommandResponseCallback) Method
A callback to invoke when the command has finished execution.
Initialise the PIXL.
Syntax
'Declaration
 
Public Overloads Function Initialise( _
   ByVal callback As ApiCommandResponseCallback _
) As Task
'Usage
 
Dim instance As PIXLClient
Dim callback As ApiCommandResponseCallback
Dim value As Task
 
value = instance.Initialise(callback)

Parameters

callback
A callback to invoke when the command has finished execution.

Return Value

The result of the action.
Example
This sample shows how to use the Initialise(ApiCommandResponseCallback) method.
// Initialise the PIXL.
pixl.Initialise(x => Console.WriteLine(x.Message));
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PIXLClient Class
PIXLClient Members
Overload List