Difference between revisions of "TestIT:Configuration Socket"
Jump to navigation
Jump to search
NolekAdmin (talk | contribs) |
NolekAdmin (talk | contribs) |
||
| Line 52: | Line 52: | ||
Find a code example and the parameters in the functions window, in section socket. | Find a code example and the parameters in the functions window, in section socket. | ||
| + | |||
| + | |||
| + | [[TestIT:Configuration#Devices_in_TestIT%3A|Back to Configuration]] | ||
Latest revision as of 15:57, 11 September 2019
6.3.14 Socket
Socket is a TCP/IP communication.
Setup fields:
- Configuration
- Command structure
- Test connection
Configuration:
- Write the device name and device description (required)
- Select if the device is active or not
- Select the following:
- IP address – Socket port parameter
- Port ID – Port no. and is a socket port parameter
- Send delimiter – Character to split send text
- Receive delimiter – Character to split receive text
- Log file folder – Path to the log folder
- Logging on/off – On = Logging is active; Off = Logging is inactive
- Socket type – Socket port parameter
- Protocol type – Socket port parameter
- Device status – Which character to split the received text
- Timeout – Number of received parameters
- Termination char – Receive as ‘text or byte array’
- Press Save
Command structure:
- Press New
- Write:
- Name
- Description (optional)
- Optional code - if written, this will always begin the socket command
- Select active
- Add the desired amount of send parameters
- Add the desired amount of receive parameters
- When all is done, Press Save
Test connection: To test the socket device, press the Test connection tab.
- Press Test, under commands on the command to test
- Type text in message (If any needed!)
- Type values in all the needed parameters
- Press Send
The response from socket server can be seen in the response area. \\ If any errors happen a text message over the Save and Close button will be shown.
6.3.14.1 Commands
Command in socket is:
Find a code example and the parameters in the functions window, in section socket.