Download E1465A/E1466A/E1467A Relay Matrix Switch Modules
Transcript
Example Enabling Continuous Scanning This example enables continuous scanning of channels 10000 through 10003 of a single-module switchbox. Since TRIGger:SOURce IMMediate (default) is set, use an interface clear command (such as CLEAR) to stop the scan. INIT:CONT ON ! Enable continuous scanning SCAN(@10000:10003) ! Define channel list INIT ! Start scan cycle, close channel 10000 INITiate:CONTinuous? INITiate:CONTinuous? queries the scanning state. With continuous scanning enabled, the command returns "1" (ON). With continuous scanning disabled, the command returns "0" (OFF). Example Querying Continuous Scanning State This example enables continuous scanning of a matrix module and queries the state. Since continuous scanning is enabled, INIT:CONT? returns "1". INIT:CONT ON ! Enable continuous scanning INIT:CONT? ! Query continuous scanning state INITiate[:IMMediate] INITiate[:IMMediate] starts the scanning process and closes the first channel in the channel list. Successive triggers from the source specified by TRIGger:SOURce advance the scan through the channel list. Comments Starting the Scanning Cycle: INITiate:IMMediate starts scanning by closing the first channel in the channel list. Each trigger received advances the scan to the next channel in the channel list. An invalid channel list definition causes an error (see [ROUTe:]SCAN). Stopping Scanning Cycles: See the ABORt command. Example Enabling a Single Scan This example enables a single scan of channels 10000 through 10003 of a matrix module. The trigger source to advance the scan is immediate (internal) triggering set with TRIGger:SOURce IMMediate (default). SCAN(@10000:10003) ! Scan channels 10000 - 10003 INIT ! Begin scan, close channel 10000 (use immediate triggering) 58 Matrix Modules Command Reference Chapter 4