Singer Instruments PIXL Client
PIXLClient Constructor(String,Int32)
Example 



SI.PIXL.Client Namespace > PIXLClient Class > PIXLClient Constructor : PIXLClient Constructor(String,Int32)
The IP address of the PIXL. The IP address of the PIXL can be found in the 'Settings > API' section of the PIXL software.
The PIXL's gRPC port. The default port is 50052, this can be found in the 'Settings > API' section of the PIXL software.
Initializes a new instance of the PIXLClient class. This will attempt to connect the client to the PIXL and synchronize all properties.
Syntax
'Declaration
 
Public Function New( _
   ByVal host As String, _
   ByVal port As Integer _
)
'Usage
 
Dim host As String
Dim port As Integer
 
Dim instance As New PIXLClient(host, port)
public PIXLClient( 
   string host,
   int port
)
public:
PIXLClient( 
   String^ host,
   int port
)

Parameters

host
The IP address of the PIXL. The IP address of the PIXL can be found in the 'Settings > API' section of the PIXL software.
port
The PIXL's gRPC port. The default port is 50052, this can be found in the 'Settings > API' section of the PIXL software.
Example
This sample shows how to call the PIXLClient Constructor(String,Int32) constructor.
// Create a new instance of the PIXL class using a known port.
var pixl = new PIXLClient("127.0.0.1", 50052);
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