
'*RST sets TRIG:SOUR to IMM
CALL SEND(16, "samp:coun 3", status%)
CALL SEND(16, "trig:sour tim;tim 15", status%)
CALL SEND(16, "trig:coun 10", status%)
'TRACe subsystem is not affected by *RST
CALL SEND(16, "trac:poin 30", status%)
CALL SEND(16, "trac:feed sens1;feed:cont next", status%)
' now the buffer is armed
CALL SEND(16, "rout:scan (@1:3)", status%)
CALL SEND(16, "rout:scan:lsel int", status%)
'Start everything
CALL SEND(16, "init", status%)
'Initialize reading$ while the 2000 is busy taking readings
reading$ = SPACE$(2500)
WaitSRQ:
IF (NOT(srq%)) THEN GOTO WaitSRQ
CALL SPOLL(16, poll%, status%)
IF (poll% AND 64)=0 THEN GOTO WaitSRQ
CALL SEND(16, "stat:meas", status%)
CALL ENTER(S$, length%, 16, status%)
CALL SEND(16, "form:elem read,unit" status%)
CALL SEND(16, "trac:data?", status%)
CALL ENTER(reading$, length%, 16, status%)
PRINT reading$
NOTE
To repeat buffer storage, send the following command and then repeat the steps fol-
lowing the
‘Start everything
comment in the above example.
CALL SEND(16, "feed:cont next", status%)
Example Programs
C-11
Summary of Contents for 2000
Page 1: ...Model 2000Multimeter User s 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...
Page 13: ...1 General Information...
Page 19: ...2 Basic Measurements...
Page 54: ...2 36 Basic Measurements...
Page 55: ...3 Measurement Options...
Page 87: ...4 Remote Operation...
Page 139: ...5 SCPI CommandReference...
Page 215: ...A Specifications...
Page 226: ...A 12 Specifications...
Page 227: ...B Statusand ErrorMessages...
Page 233: ...C Example Programs...
Page 246: ...C 14 Example Programs...
Page 247: ...D Models196 199and 8840A 8842ACommands...
Page 255: ...E IEEE 488 BusOverview...