MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ CreateFromServer()

MotionController * CreateFromServer ( char *  server,
int32  serverPort 
)
static

Initialize a SynqNet controller in another computer on a TCP/IP network.

Description:
This creates and initializes a SyqnNet controller which resides in a TCP/IP networked computer. The networked computer must be running the SERVER.EXE utility.
Parameters
serverThis is the remote computer's name or IP address. (Expressed as a char*)
serverPortThis is the TCP port used to connect to the remote computer. Default is 3300. (Expressed as a int32)
Sample Code:
Initialize a SynqNet controller in a networked computer running SERVER.EXE
// -- C++ -- //
MotionController *controller = MotionController::CreateFromServer("192.168.6.74", 3300);
// -- C# -- //
MotionController myController = MotionController.CreateFromBoard("192.168.6.74", 3300);
See also
CreateFromBoard