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 Socket protocol does not have a mechanism for transmitting the end of the message by protocol means. This creates the mandatory requirement for programs sending commands to analyzer send a <newline> character 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. |