ROUTe:CHANnel:DRIVe:STATe?
Syntax
ROUTe:CHANnel:DRIVe:STATe? (@<ch_list>)
Description
This command returns the current drive state of the specified channels on the 34945A Microwave Switch/Attenuator Driver. This command is provided specifically for the verified, single-coil, non-pulsed channel drive configuration, where the results from the ROUTe:CLOSe? command reports the verified position indicator state, which may not be the same as the current drive state. The response from the ROUTe:CHANnel:DRIVe:STATe? command indicates whether or not the specified channels are currently being driven.
Used With:
34945A Microwave Switch/Attenuator Driver
Parameters
Name |
Type |
Range of Values |
Default Value | ||||||||
<ch_list> |
Numeric |
One or more channels in the form (@srcc).
s: Mainframe
slot number (1 through 8) |
This is a required parameter |
Remarks
For channels that are configured for the pulsed drive mode (see ROUTe:CHANnel:DRIVe:PULSe[:MODE] command), this command will always return "0" indicating that the channels are not being driven. Note that previous pulsed operations will have completed before the ROUTe:CHANnel:DRIVe:STATe? query is evaluated.
For channels that are configured for the non-verified, single-coil, non-pulsed drive mode (see ROUTe:CHANnel:VERify[:ENABle], ROUTe:CHANnel:DRIVe:PAIRed[:MODE], and ROUTe:CHANnel:DRIVe:PULSe[:MODE] commands), the ROUTe:CLOSe? command can also be used to accurately determine the current drive state.
Return Format
The command returns "1" if the specified channel is being driven or "0" if the specified channel is not being driven. Multiple responses are separated by commas.
Example
The following program segment queries the channel drive state for channels 01 through 05 on Bank 2 on 34945EXT remote module #2 (slot 3).
ROUT:RMOD:DRIV:SOUR OFF,(@3200)
!Must disable
channel drive
ROUT:CHAN:DRIV:PAIR:MODE OFF,(@3201:3205) !Disable
paired-coil mode
ROUT:CHAN:DRIV:PULS:MODE OFF,(@3201:3205) !Enable
continuous mode
ROUT:CHAN:VER:ENAB ON,(@3201:3205) !Enable
verification
ROUT:RMOD:DRIV:SOUR EXT,(@3200) !Enable
channel drive
ROUT:CLOS (@3201:3205) !Continuous
drive close operation
ROUT:CHAN:DRIV:STAT? (@3201:3205) !Query
drive state
Typical Response: 1,1,1,1,1
See Also
ROUTe:CHANnel:DRIVe:PAIRed[:MODE]