Download Agilent Technologies E1345A User`s manual
Transcript
OPEN? [ROUTe:]OPEN? <channel_list> returns the current state of the channel(s) queried. The channel_list is in the form (@ccnn). The command returns 1 if the channel is open or returns 0 if the channel is closed. Comments • Query is Software Readback: The [ROUTe:]OPEN? command returns the current software state of the channel specified. It does not account for relay hardware failures. Example Query Multiplexer Channel Open State OPEN (@100,215) 100 opens channel 00 of multiplexer #1; 215 opens channel 15 of multiplexer #2. Query channel 215. OPEN? (@215) SCAN [ROUTe:]SCAN <channel_list> defines the channels to be scanned. The channel_list is in the form (@ccnn), (@ccnn,ccnn), or (@ccnn:ccnn) where cc = card number (00–99) and nn = channel number (00–15). Parameters Comments Parameter Name Parameter Type Range of Values <channel_list> numeric cc00-cc15 • Defining the Channel List: When executing [ROUTe:]SCAN, the channel list is checked for valid card and channel numbers. An error is generated for an invalid channel list. • Scanning Operation: With a valid channel list, INITiate[:IMMediate] starts the scanning cycle and closes the first channel in the channel list. Successive triggers from the source specified by TRIGger:SOURce advances the scan through the channel list. • Stopping Scan: See the ABORt command. • Closing the AT, BT, and AT2 Tree Switches: See the [ROUTe:]SCAN:PORT ABUS command. • Related Commands: TRIGger, TRIGger:SOURce • *RST Condition: All channels open. Example Scanning Using External Devices The following example shows how to scan channels using the E1300/E1301 Mainframe via GPIB and an Agilent 3457A Digital Multimeter. This example uses the mainframe "Trig Out" port to synchronize the multiplexer module in a switchbox to the multimeter. The trigger pulse form the port triggers the multimeter for a measurement. See Chapter 3 for typical user connections to the multiplexer. 60 Relay Multiplexer Command Reference