2.7.2 Terminal Character in Analyzer Responses
When using the HiSLIP protocol, the analyzer terminates messages with the
symbol <newline> + the protocol defined end of message (not symbolic).
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.
Depending on the protocol used, you need to make the following settings for the
VISA library so that it correctly determines the end of the message from the
analyzer:
 When using the HiSLIP protocol – no settings are required, the VISA library
functions normally with default settings;
ï‚· When using the Socket protocol, the user program must set the attribute
VI_ATTR_TERMCHAR_EN to TRUE (completion of the read operation when
the <newline> character is received).
Examples of setting up the VISA library using the Socket protocol:
2.7.3 Interrupted Error
The HiSLIP protocol meets the requirements of the IEEE Std 488.2 message
exchange protocol to detect an interrupted error
3
. The interrupted error indicates
that the Analyzer received an incoming message (command or query) before the
client accepted a response from the previous request. In other words, the client is
required to read the result of each query before sending the next query or
command. If the client fails to do so, the protocol generates an error message and
the response from the previous query is cleared by the protocol.
The Socket protocol does not detect the interrupted error. Multiple queries can be
sent to the analyzer without a read operation between them. Answers from
3
The analyzer implements the synchronized mode of the HiSLIP protocol.