Example
78 Relay Driver Module Command Reference
•
Stopping Scan: See ABORt.
•
Related Commands: [ROUTe:]CLOSe, [ROUTe:]OPEN, TRIGger,
TRIGger:SOURce
•
*RST Condition: All channels open for 72-channel mode. For 36-channel
mode, all SET channels are open and all RESET channels are closed
Example: Scanning Using External Devices
This example shows one way to scan channels using an Agilent E1406 command
module via GPIB and an external instrument. The example uses a pulse from the
command module "Trig Out" port to synchronize the external instrument to a Relay
Driver Module.
external instrument commands
OUTP ON
TRIG:SOUR BUS
SCAN (@100:107)
INIT
Loop
enter result
TRIGGER
increment count
End Loop
END
!Commands to configure external
instrument
!Enable "Trig Out" port on command
module
!Set switchbox to receive Bus triggers
!Set the channel list for chs 0 through 7
!Start the scanning cycle
!Start the counting loop
!Enter results into computer
!Trigger the switchbox to advance the
channel scan
!Increment the loop
!End of count loop
!End of program