The user program sends variable-length text messages to the analyzer. The end of the message, according to IEEE488.2, is terminated either by protocol means (not by a symbol), or by the symbol <newline> ('\n', 0x0A, 10), or both methods together.
The HiSLIP has a mechanism for transmitting the end of the message by protocol means, while the Socket protocol does not. This creates the following requirements for programs sending commands to analyzer:
•Programs using the Socket protocol shall send a <newline> character at the end of the message.
•Programs using the HiSLIP protocol may send the <newline> symbol at the end of the message.
note |
For the graphical language LabVIEW when using the Socket protocol to be able to enter the symbol <newline> at the end of the message, right-click on the string constant and enable '\' Codes Display. The <newline> character is entered as '\n'. |
note |
For the textual languages it is recommended to use to the symbol <newline> at the end of the message regardless of the protocol used. |