TestIT:Programming Socket

From Nolek Wiki
Jump to navigation Jump to search

5.3.12 Socket

Socket_Execute

Description:
It will execute socket device and selected command.

Code example:

Socket.Socket_Execute(Socket1,Results,_ST01;_ST02;_ST03,_ResultMsg1;_ResultMsg2,_TO01)
Parameters
Parameter Type Description
Device name String or String symbol The device name
Command name String or String symbol Select the command to use
Send parameters Symbol array The values to send
Receive parameters Symbol array Text received from socket command will be split into these symbols
Timeout active Bool symbol True if timeout active

IP_Execute

Description:

It will execute the seleted IP device.

Code example:

Socket.IP_Execute(IPDevice)

Parameters
Parameter Type Description
Device name String or String symbol The device name


Back to Programming - Commands