Instrument Control Toolbox    
CompareBits

Specify the number of bits that must match the EOS character to complete a read operation, or to assert the EOI line

Description

For GPIB objects, you can configure CompareBits to be 7 or 8. If CompareBits is 7, the read operation completes when a byte that matches the low seven bits of the End-Of-String (EOS) character is received. The End Or Identify (EOI) line is asserted when a byte that matches the low seven bits of the EOS character is written.

If CompareBits is 8, the read operation completes when a byte that matches all eight bits of the EOS character is received. The EOI line is asserted when a byte that matches the low seven bits of the EOS character is written.

For VISA-GPIB, VISA-VXI, and VISA-GPIB-VXI objects, CompareBits can only be 8.

You can specify the EOS character with the EOSCharCode property. You can specify when the EOS character is used (read operation, write operation, or both) with the EOSMode property.

Characteristics

Usage
GPIB, VISA-GPIB, VISA-VXI, VISA-GPIB-VXI
Read only
Never
Data type
Double

Values

GPIB

{8}
Compare all eight EOS bits.
7
Compare the lower seven EOS bits.

VISA-GPIB, VISA-VXI, VISA-GPIB-VXI

{8}
Compare all eight EOS bits

See Also

Properties

EOSCharCode, EOSMode


 ChassisIndex DataBits