VISA-GPIB Communication Parameters
You should configure the VISA-GPIB object to match your instrument's communication configuration, which you typically set with its front panel.
Address
The following parameters are associated with configuring the VISA-GPIB address.
- Select an Adaptor - You can create a VISA-GPIB object that uses the VISA standard as implemented by Agilent Technologies or National Instruments.
- 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, or you can specify the equivalent ASCII character. For example, to configure EOSCharCode to a carriage return, you specify the value to be 'CR' or 13. EOSCharCode replaces \n wherever it appears in the command sent to the instrument.
- EOIMode - Specify if the End Or Identify (EOI) line is asserted at the end of a write operation. The choices are:
- Assert the EOI line at the end of write
- Don't assert the EOI line at the end of write