TestIT:Configuration Serial

From Nolek Wiki
Jump to navigation Jump to search

6.3.13 Serial

Serial

In serial there is a communication to and from a serial device.

Setup fields:

  • Configuration
  • Test device

Configuration:

  1. Write the device name and device description (required)
  2. Select if the device is active or not
  3. Select the following:
    1. Baud rates – Serial port parameter
    2. Data bit - Serial port parameter
    3. Parity - Serial port parameter
    4. Stop bit - Serial port parameter
    5. Com port – Will show all registered COM ports on the PC
    6. Send termination char – Where the char must send the communication
    7. Receive termination char - Where the char should receive the communication
  4. 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

  1. Press the test device tab
  2. Press Lock config to open the COM port
  3. Insert text in the command field to send.
    1. 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”.
    2. If Char to Hex is selected in send encoding, the values will be encoded.
  4. 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.


Back to Configuration