Figure 4-3. Example: Scanning Using Trig Out/Event In Ports
52 Understanding the Relay Driver Module
SCPI Commands
For this example, since synchronization with the computer cannot be
ensured, the external instrument must have internal memory capacity to
store the readings. The sequence of operation and associated SCPI
commands are:
1. INIT closes channel 0
2. Channel closure causes trigger to be output from "Trig Out" port
3. Trigger to "Ext Trig In" initiates channel 0 measurement
4. Channel 0 measurement result is stored in external instrument
5. Trigger is then output from "VM Complete" port
6. Trigger to "Event In" port advances scan to channel 1
7. Steps 2-6 are repeated for channels 1 and 2
external instrument commands
*RST;*CLS
OUTP ON
TRIG:SOUR EXT
SCAN (@l00:102)
INIT
Start loop (3 channels)
Enter results
End Loop
!Configure ext instrument
!Reset relay driver module
to known state
!Enable Cmd Mod Trig Out port
!Event In triggering
!Scan channels 0 - 2
!Enable scan