34937A, 34938A And 34939A Scpi Programming Examples; Opening And Closing Channels; Reading Jumper State And System Identity - Keysight Technologies 34937A User Manual

General purpose switch modules
Hide thumbs Also See for 34937A:
Table of Contents

Advertisement

34937A, 34938A and 34939A SCPI Programming Examples

The programming examples below provide you with SCPI command examples to
use for actions specific to the general purpose 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 channel
number.
For complete information on the SCPI commands used to program the 34980A,
and for example programs, refer to the Keysight 34980A Programmer's Reference
which can be downloaded from www.keysight.com/find/34980A.

Opening and Closing Channels

Example: Closing and opening channels
channel 3 for a module in slot 2, then channel 5 for that module.
The last command opens both channel 3 and channel 5.
ROUTe:CLOSe (@2003)
ROUTe:CLOSe (@2005)
ROUTe:OPEN (@2003,2005)
Example: Querying channels for open or closed state
command returns a 1 (true) or 0 (false) state of channel 016 for a module in slot 3.
ROUTe:CLOSe (@3016)
ROUTe:CLOSe? (@3016) !Returns a 1
ROUTe:OPEN? (@3016) !Returns a 0

Reading Jumper State and System Identity

Example: Querying the power-failure state of 5 A relays
command returns the position of the power-fail jumper, either "MAIN" (all relays
maintain their present state when power fails) or "OPEN" (all relays open when
power fails) for a module in slot 4. If this command is sent to a module other than
the 34937A or 34938A, "NONE" is returned (no error is generated). In particular,
the position of the power-fail jumper on the 34939A module cannot be queried
using this commmand.
Keysight 34937A-34939A User's Guide
The first two commands close
The following
The following
13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

34939a34938a

Table of Contents