Dual/Triple Microwave Switch Modules 9
34980A User’s Guide 263
34946A and 34947A SCPI Programming Examples
The programming examples below provide you with SCPI command
examples to use for actions specific to the microwave switch modules.
The slot and channel addressing scheme used in these examples follow
the form sccc where s is the mainframe slot number (1 through 8) and
ccc is the three- digit channel number. For information on specific
configurations, refer to the simplified schematics in this chapter.
For complete information on the SCPI commands used to program the
34980A, refer to the Agilent 34980A Programmer’s Reference contained
on the 34980A Product Reference CD. For example programs, also refer
to the 34980A Product Reference CD.
Example: Closing channels You can use the ROUTe:CLOSe to close channels
on the microwave switch modules, but these modules do not support the
ROUTe:OPEN command. You can open channels by closing other channels.
With this “one- step” operation, the relays switch in the proper order that
avoids momentary connection of the wrong input to the switch output.
The following statement closes channel 201 of a microwave switch
module installed in slot 5.
ROUTe:CLOSe (@5201)
Example: Querying channels for open or close state The following command
returns the open (1) or close (0) state of channel 202 for a module in
slot 3.
ROUTe:CLOSe? (@3202)
Example: Querying the system for module identify The following command
returns the identify of the module installed in slot 7.
SYSTem:CTYPe? 7
Example: Reading the cycle count for a relay The following command reads
back the number of completed cycles for the channel 201 relay of a
module installed in slot 6.
DIAGnostic:RELay:CYCLes? (@6201)
Example: Clearing the cycle count for a relay The following command resets
the cycle count on channels 201 and 202 for a module in slot 1.
DIAGnostic:RELay:CYCLes:CLEar (@1201,1202)