CHAPTER 4 PROGRAMMING TECBNIQUES
47
4.5. Multiple Device Triggering
10
'FILE NAME : EXAMPLE.5
20
'Program Example : MULTIPLE DEVICE TRIGGERING
30
'
40
'Purpose : This program triggers 2 voltmeters at the same
50
'time to make the measurement simultaneously.
60
'
70
'Remark :
This program is written for the HP3478A DVM. If
80
'
another model of voltmeter is used, please check
90
'
the operating manual and make necessary
100
'
modification to this program.
110
'
120
'Initialization
130
'
140
CLS
150
DEF SEG=&HD000
160
ABORT%=9 : ENTER%=6 : OUTPUT%=3 : SEND%=36 : STATUS%=42
170
TRIGGER%=48
180
ADDR1%=23 : ADDR2%=24
190
CALL ABORT%
200
'
210
'
220
'Set the DVM’s
230
'
240
D$=l’FlT3R2N5'’
250
CALL OUTPUT%(ADDR1%,D$)
‘ Send DVM #1 setting string
260
CALL OUTPUT%(ADDR2%,D$)
‘ Send DVM #2 setting string
270
GOSUB 550 ‘ Error check
280
IF ER%<>0 TuEN PRINT “Error when setting DVM.” : END
290
'
300
'
310
'Measurement start
320
'
330
FOR I=1 TO 10
340
'
350
CMD$=’UNL UNT MTA LISTEN 23 24 GET”
360
CALL SEND%(CMD$) ‘ Trigger the DVM’s
370
'
380
D1$=SPACE$(40)
390
CALL ENTER%(ADDR1%,D$) ‘ Enter DVM #1 reading
400
GOSUB 550 ‘ Error check
410
IF ER%<>0 TuEN PRINT “Error when reading DVM #1.” : END
Summary of Contents for PCL-848A/B
Page 1: ...PCL 848A B MULTIFUNCTION IEEE 488 INTERFACE CARD ...
Page 6: ...Figures Fig 2 2 Location of switches and jumpers 4 Fig 7 1 PCL 848A B Block Diagram 59 ...
Page 65: ...CHAPTER 7 TBEORY OP OPERATION 59 Fig 7 1 PCL 848A B Block Diagram ...
Page 76: ...70 PCL 848AB User s Manual ...
Page 78: ...72 PCL 848AB User s Manual Handshake Timing Sequence ...