Instrument Control Toolbox    

Configuring the GPIB Address

Each GPIB object is associated with one controller and one instrument. The GPIB address consists of the board index of the GPIB controller, and the primary address and (optionally) the secondary address of the instrument. The term "board index" is equivalent to the term "logical unit" as used by Agilent Technologies.

As described in Using Vendor Tools to Identify and Test Your Resources, you can find the GPIB board index number by invoking the appropriate vendor tool. Note that some vendors place limits on the allowed board index values. Refer to the Instrument Control Toolbox Release Notes for a list of these limitations. You can usually find the instrument addresses through a front panel display or by examining dip switch settings. Valid primary addresses range from 0 to 30. Valid secondary addresses range from 96 to 126, or it can be 0 indicating that no secondary address is used.

The properties associated with the GPIB address are given below.

Table 3-8: GPIB Address Properties 
Property Name
Description
BoardIndex
Specify the index number of the GPIB board.
PrimaryAddress
Specify the primary address of the GPIB instrument.
SecondaryAddress
Specify the secondary address of the GPIB instrument.

You must specify the board index and instrument primary address values during GPIB object creation. The BoardIndex and PrimaryAddress properties are automatically updated with these values. If the instrument has a secondary address, you can specify its value during or after object creation by configuring the SecondaryAddress property.

You can display the address property values for the GPIB object g created in Creating a GPIB Object with the get function.


  The GPIB Object Display Writing and Reading Data