When using the Socket protocol, the analyzer terminates messages only with the <newline> symbol, since the Socket protocol does not have the protocol defined end of message (not symbolic).
When using the Socket protocol, the following setting for the VISA library should be made so that it correctly determines the end of the message from the Analyzer. The user program must set the attribute VI_ATTR_TERMCHAR_EN to TRUE (completion of the read operation when the <newline> character is received).
C/C++ |
viSetAttribute(instr, VI_ATTR_TERMCHAR_EN, VI_TRUE); |
LabVIEW |