User manual
Section 13: Instrument Control Library (ICL)  Series 3700 System Switch/Multimeter Reference Manual 
13-56  3700S-901-01 Rev. C / July 2008 
channel.getpowerstate() 
Function 
Gets the current power state attribute for a channel. 
Usage 
<state(s)> = channel.getpowerstate (<ch_list>) 
state: Return string of a comma-delimited list of power states. 
ch_list: String specifying the channels to query, using normal channel list syntax. 
Remarks 
See card-specific documentation for important potential implications (warmup times, 
effective coverage, use cases, and so on) when disabling power to a channel. 
Not all channels can be disabled. If included in a range, they are ignored; otherwise, 
an error is generated. 
Also see 
channel.setpowerstate() (on page 13-80) 
Example 
To get the current power state attribute for a channel: 
print(channel.getpowerstate ("1006")) 
channel.getstate() 
Function 
Queries the state indicators of a channel. 
Usage 
<state> = channel.getstate(<ch_list>, [<indicator_mask>]) 
state: Return string listing the comma-delimited states for channels in ch_list. 
ch_list: String specifying the channels to query, using normal channel list syntax. 
indicator_mask: Value to specify only certain indicators. If omitted, all indicators are 
returned. 










