Getting Started
2-18
Line 170 Request readings (default is reading only, ASCII
format).
Line 180 Address to talk.
Line 190 Display readings, status, units, time-stamps,
reading numbers, and channels.
Programming example #4 Burst speed DC voltage
readings
The following code fragment configures the Model 2001 for
burst speed DC voltage readings, stores 100 readings, and
sends the readings over the bus:
100 OUTPUT 716;“:syst:pres”
110 OUTPUT 716;“:syst:amet burs”
120 OUTPUT 716; “form:elem read, rnum, unit,
stat”
130 OUTPUT 716;“:trac:clear”
140 OUTPUT 716;“:trac:feed calc”
150 OUTPUT 716;“:trac:poin 100”
160 OUTPUT 716;“:init”
170 WAIT 2
180 OUTPUT 716;”:trac:data?”
190 ENTER 716;A$
200 PRINT A$
Line 100 Return Model 2001 to default configuration.
Line 110 Change acquisition method to burst; put unit in
idle.
Line 120 Specify data elements (reading, reading number,
units, and status).
Line 130 Clear all stored readings.
Line 140 Perform any math before storing readings.
Line 150 Set buffer count to 10 readings.
Line 160 Take unit out of idle; perform reading burst; re-
turn to idle.
Line 170 Wait for burst to complete.
Line 180 Request readings (default is readings only, ASCII
format).
Line 190 Address to talk.
Line 200 Display readings.