User manual

Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-255
slot[X] attributes
The attributes in this group indicate whether a card in slot X (where X = 1 to 6)
supports different features such as pole settings, voltage or 2-wire
measurements, etc.,. To query an attribute, use the print command sending the
attribute as an argument. For example:
print(slot[1].idn)
will output a comma separated string that contains the model number,
description, firmware revision and serial number of the card installed in Slot 1.
slot[X].commonsideohms
Attribute
Indicates whether a card in slot X supports common-side 4-wire ohm channels.
Usage
commonside = slot[X].commonside ohms
[X]: Slot number (1 to 6)
Remarks
This attribute will not exist for a slot if a card is not installed or the card installed does
not support common-side 4-wire ohm channels. In these cases, the return value will be
nil. If common side 4-wire ohm channels are supported, the returned value will be 1.
Example
To query if Slot 1 supports common-side 4-wire ohm channels:
CommonSideOhms1 = slot[1].commonsideohms
slot[X].digio
Attribute
Indicates whether a card in slot X supports digital I/O channels or not.
Usage
digio = slot[X].digio
[X]: Slot number (1 to 6)
Remarks
This attribute will not exist for a slot if a card is not installed or the card installed does
not support digital I/O channels. In these cases, the return value will be nil. If digital I/O
channels are supported, the returned value will be 1.
Example
To query if Slot 1 supports digio channels:
Digio1 = slot[1].digio
slot[X].endchannel.amps
Attribute
The ending channel that supports amps measurements.
Usage
end = slot[X].endchannel.amps
[X]: Slot number (1 to 6)
Remarks
This attribute will not exist for a slot if a card is not installed or the card installed does
not support amps channels. In these cases, the return value will be nil. If supported,
the return value will be a number representing the ending channel. If only one channel
supports amps, the ending channel will match the starting channel number.