ChassisIndex
Specify index number of VXI chassis
Description
You configure ChassisIndex
to be the index
number of the VXI chassis associated with your instrument.
When you create a VISA-VXI or VISA-GPIB-VXI object, ChassisIndex
is
automatically assigned the value specified in the visa
function. For both object types,
the Name
and RsrcName
properties
are automatically updated to reflect the ChassisIndex
value.
You can configure ChassisIndex
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 | VISA-VXI, VISA-GPIB-VXI |
Read only | While open |
Data type | double |
Values
The value is defined after the instrument object is created.
Examples
Suppose you create a VISA-GPIB-VXI object associated with chassis 0 and logical address 32.
v = visa('keysight','GPIB-VXI0::32::INSTR');
The ChassisIndex
, Name
,
and RsrcName
properties reflect the VXI chassis
index number.
v.ChassisIndex ans = [0]
v.Name ans = 'VISA-GPIB-VXI0-32'
v.RsrcName ans = 'GPIB-VXI0::32::INSTR'