Difference between revisions of "TestIT:Programming Socket"

From Nolek Wiki
Jump to navigation Jump to search
(Created page with "==5.3.12 Socket== ===Socket_Execute=== '''Description:''' <br /> It will execute socket device and selected command. '''Code example:''' :<code>Socket.Socket_Execute(Socket1,...")
 
 
(2 intermediate revisions by the same user not shown)
Line 34: Line 34:
 
|True if timeout active
 
|True if timeout active
 
|}
 
|}
 +
 +
===IP_Execute===
 +
 +
'''Description:'''
 +
 +
It will execute the seleted IP device.
 +
 +
'''Code example:'''
 +
 +
<code>Socket.IP_Execute(IPDevice)</code>
 +
 +
{| class="wikitable"
 +
!colspan="3"|Parameters
 +
|-
 +
|'''Parameter'''
 +
|'''Type'''
 +
|'''Description'''
 +
|-
 +
|Device name
 +
|String or String symbol
 +
|The device name
 +
|-
 +
|}
 +
 +
 +
[[TestIT:Programming#5.3_Commands|Back to Programming - Commands]]

Latest revision as of 15:19, 11 September 2019

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