Continuous triggering #1
The following example program sets up the Model 2002 to take readings as fast as it can once
it receives an external trigger. The actual reading rate will depend upon other factors, such as A/D
integration time, autozero mode, autorange on/off, etc.
'Example program to demonstrate continuous triggering
'For QuickBASIC 4.5 and CEC PC488 interface card
'Edit the following line to where the QuickBASIC
'libraries are on your computer
'$INCLUDE: 'c:\qb45\ieeeqb.bi'
'Initialize the CEC interface as address 21
CALL initialize(21, 0)
'Reset controls in INIT, ARM;LAY1, ARM:LAY2, and TRIG subsystems
'and put trigger model in IDLE state
CALL SEND(16, "*rst", status%)
'*RST sets TRIG:SOUR to IMM
CALL SEND(16, "arm:lay2:sour ext", status%)
CALL SEND(16, "trig:coun inf", status%)
'start everything
CALL SEND(16, "init", status%)
After the Model 2002 receives the
INITiate
command, it stops in
ARM:LAYer2
of the trigger
model, waiting for a pulse on the external trigger jack. After the external trigger signal occurs,
the Model 2002 moves to the
TRIGger
layer. Since
TRIGger:SOURce
is set to
IMMediate
, a read-
ing is triggered immediately, with a subsequent reading triggered as soon as the previous one is
finished.
IEEE-488 Bus Operation
3-21
Содержание 2002
Страница 1: ...Model 2002Multimeter Getting Started Manual A G R E A T E R M E A S U R E O F C O N F I D E N C E...
Страница 8: ...1 FrontPanel Operation...
Страница 25: ...1 18 Front Panel Operation...
Страница 26: ...2 Measurement Options...
Страница 55: ...3 IEEE 488Bus Operation...
Страница 84: ...4 Specsand Accessories...