GPIB Communication Parameters
You should configure the GPIB object to match your instrument's communication configuration,
which you typically set with its front panel.
Select an Adaptor
You can create a GPIB object associated with an Agilent, CBI, CEC,
Keithley, IOTech, or National Instruments (NI) GPIB controller.
Communication Address
Each GPIB instrument must have a unique board index and primary address. An optional
secondary address can also be used.
- Board Index - Specify the index number of the GPIB board (controller).
- Primary Address - Specify the instrument's primary address. The value
can range from 0 to 30.
- Secondary Address - Specify the instrument's secondary address. The value
can range from 96 to 126, or it can be 0 indicating that no secondary address is used.
Termination
The following parameters are associated with completing read and write operations.
- EOSMode - Specify when the End-Of-String (EOS) character is used.
- none - The EOS character is ignored.
- read - The EOS character is used to complete read operations.
- write - The EOS character is included with each write operation. When the
EOS character is received by the instrument, its EOI line is asserted.
- read&write - The EOS character is used for both read and write operations.
- EOSCharCode - Specify the EOS character. The value can range from 0 to 255,
which represents the ASCII code for the character. For example, 13 represents a carriage return,
while 10 represents a line feed. EOSCharCode replaces \n wherever it appears in the command sent
to the instrument.
- CompareBits - Specify the number of bits that must match the EOS character
to complete a read or write operation, or to assert the EOI line. The choices are:
- Match the lower 7 bits
- Match all 8 bits
- EOIMode - Specify if the EOI line is asserted at the end of a write operation.
The choices are:
- Assert the EOI line
- Don't assert the EOI line