User manual
Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-55
channel.getoutputenable()
Example
Query the state of the first DAC channel on a card in Slot 1:
print(channel.getoutputenable("1010"))
channel.getpole()
Function
Queries the pole settings for the specified channels.
Usage
poles = channel.getpole(<ch_list>)
ch_list: A string listing the channels to query for their pole setting.
poles: Returns a string consisting of the poles, comma separated, for ch_list.
Remarks
The parameter string can contain 'slotX', where X equals 1 to 6, or
'allslots'.
An error message is generated if:
An empty parameter string is specified.
The specified channel does not exist for card installed in slot.
Parameter syntax error such as incorrect format for ch_list.
A channel pattern was specified.
An analog backplane relay was specified.
Channel does not support pole setting like a digital I/O.
Command processing stops as soon as an error is detected. No partial list is returned.
The response is the numerical value representing the pole selection and not the text.
For example, 4-pole selection is 4 and not channel.POLES_FOUR.
For channels, manipulate the analog backplane relay channels for the desired pole
setting (see channel.setbackplane() (on page 13-70)). Recall channel
patterns do not have a pole setting associated with them and have their analog
backplane relay channels specified when created (see
channel.pattern.getimage() (on page 13-62) and
channel.pattern.snapshot() (on page 13-66)).
When the channel list parameter for this function is 'slotX', the response first lists
the channels starting from lowest to highest.
When the channel list parameter for this function is 'allslots', the response
starts with Slot 1 and increases to Slot 6. Each slot is processed completely before
going to the next. Keeping this in mind, all Slot 1 channels are listed before Slot 2
channels.
If an error is detected or the slot is empty, the response is nil.
Digital I/O, DAC, backplane, and totalizer channels are not supported.
Also see
channel.setpole() (on page 13-79)
Query commands (on page 13-6)
Example
To query Channels 1 and 3 on Slot 5 for pole setting:
mypoles = channel.getpole('5001, 5003')