TestIT:Configuration Serial
Jump to navigation
Jump to search
6.3.13 Serial
In serial there is a communication to and from a serial device.
Setup fields:
- Configuration
- Test device
Configuration:
- Write the device name and device description (required)
- Select if the device is active or not
- Select the following:
- Baud rates – Serial port parameter
- Data bit - Serial port parameter
- Parity - Serial port parameter
- Stop bit - Serial port parameter
- Com port – Will show all registered COM ports on the PC
- Send termination char – Where the char must send the communication
- Receive termination char - Where the char should receive the communication
- Press Save
Test device:
After the wanted tests, it is possible to clear the text, at the clear received text button. When the tests are finished, press Unlock config and save.
To run a standard test
- Press the test device tab
- Press Lock config to open the COM port
- Insert text in the command field to send.
- If byte array is selected in send as, use a space separated structure to fill the byte array. - E.g. “15 53 24 11 01”.
- If Char to Hex is selected in send encoding, the values will be encoded.
- Press Send and the received text will be shown in the read box.
6.1.13.1 Commands
Command in serial advanced is:
Find a code example and the parameters in the functions window, in section serial.