4Low Frequency Multiplexer Switch Modules

SCPI Programming Examples for the MUX Modules

The programming examples below provide you with SCPI command examples to use for actions specific to the MUX 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

cccis the three- digit channel number. For information on specific MUX channel configurations, refer to the simplified schematics contained in each MUX section of 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.

Opening and Closing Channels

Example: Closing and opening channels on the armature and reed MUX modules

This command closes the specified channels on a MUX module. If any channel in a bank is defined to be part of the scan list, and a scan is occurring, attempting to close another channel (including Analog Bus channels) within the same bank will result in an error. Channel closures in the other bank are allowed as long as no channels are part of the scan list.

The following commands close and open channels 13 and 15 through 18 in slot 3.

ROUTe:CLOSe (@3013,3015:3018)

ROUTe:OPEN (@3013,3015:3018)

Example: Closing channels on the FET MUX module The FET MUX module

supports a 1:N type closure, meaning that you can have only one channel per bank closed at a time. The following command closes then automatically opens each channel from 1- 19 (Bank 1) in succession, leaving channel 20 closed. Then the command continues closing and opening channels 21 to 39 (Bank 2), then leaving channel 40 closed.

At the end, only channels 20 and 40 will be closed, while all other channels will have been closed and then opened. In this process,

a channel will open before the next channel in succession closes, making this a “break- before- make” series.

ROUTe:CLOSe (@3001:3040)

The following command opens the closed channel on Bank 1 of a FET MUX module in slot 3, and closes channel 15 on that bank.

ROUTe:CLOSe (@3015)

98

34980A User’s Guide

Page 110
Image 110
Agilent Technologies Switch/Measure manual Scpi Programming Examples for the MUX Modules, Opening and Closing Channels