Example: Scanning Using The Ttl Trigger Bus (Basic) - Agilent Technologies E1463A User's Manual And Scpi Programming Manual

32-channel, 5 amp, form c switch scpi programming guide
Hide thumbs Also See for E1463A:
Table of Contents

Advertisement

Example: Scanning
Using the TTL
Trigger Bus (BASIC)
Command Module
40 Using the Form C Switch
10
OUTPUT 70915; "*RST;*CLS"
20
OUTPUT 722;"TRIG EXT;DCV"
30
OUTPUT 722;"MEM FIFO"
40
OUTPUT 70915;"OUTP ON"
50
OUTPUT 70915;"TRIG:SOUR EXT" !External triggering
60
OUTPUT 70915;"SCAN (@100:102)"!Scan channels 00-02
70
OUTPUT 70915;"INIT"
80
WAIT 2
90
FOR Channel=1 TO 3
100
ENTER 722;Result
110
PRINT Result
120 NEXT Channel
130 END
This example uses the E1406A Command Module TTL trigger bus lines to
synchronize Form C channel closures to an E1412A System Multimeter.
For measurement synchronization, the E1406A TTL trigger bus line 0 is
used by the Form C module to trigger the multimeter to perform a
measurement and the E1406A TTL trigger bus line 1 is used by the
multimeter to advance the Form C scan.
Figure 2-6 shows one way to connect the Form C module to the E1412A
multimeter module. The connections shown with dotted lines are not actual
hardware connections. These connections indicate how the firmware
operates to accomplish the triggering.
Part of VXIbus
E1406A
E1412A
Multimeter Module
TTLTrg0
Trigger
TTLTrg1
VM
Complete
HI
LO
Figure 2-6. Example: Scanning Using the TTL Trigger Bus
!Reset and clear the module
!External trigger, dc volts
!Memory first in, first out
!Enable "Trig Out"
!Enable scan
!Wait for switch closures
!Start loop
!Enter result
!Display result
!Increment count
E1463A
Terminal Module
TTLTrg1
TTLTrg0
E1463A
Module
Chapter 2

Advertisement

Table of Contents
loading

Table of Contents