Instrument Control Toolbox    
BoardIndex

Specify the index number of the GPIB board

Description

You configure BoardIndex to be the index number of the GPIB board associated with your instrument. When you create a GPIB or VISA-GPIB object, BoardIndex is automatically assigned the value specified in the gpib or visa function.

For GPIB objects, the Name property is automatically updated to reflect the BoardIndex value. For VISA-GPIB objects, the Name and RsrcName properties are automatically updated to reflect the BoardIndex value.

You can configure BoardIndex only when the object is disconnected from the instrument. You disconnect a connected object with the fclose function. A disconnected object has a Status property value of closed.

Characteristics

Usage
GPIB, VISA-GPIB, VISA-GPIB-VXI
Read only
While open (GPIB, VISA-GPIB), always (VISA-GPIB-VXI)
Data type
double

Values

The value is defined after the instrument object is created.

Example

Suppose you create a VISA-GPIB object associated with board 4, primary address 1, and secondary address 8.

The BoardIndex, Name, and RsrcName properties reflect the GPIB board index number.

See Also

Functions

fclose, gpib, visa

Properties

Name, RsrcName, Status


  BaudRate BreakInterruptFcn