Please enable JavaScript to view this site.

 Network Analyzers using PXI software

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, the following settings for the VISA library should be made 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

C/C++

viSetAttribute(instr, VI_ATTR_TERMCHAR_EN, VI_TRUE);

LabVIEW

LabView Example

 

Rev.:  22.3