Programming
—DM 5010
Invalid
readings
can be avoided by using
MODE TRIG to
control
when readings are taken.
Allowing
Settling Time
Settling
time
may be incorporated
in a program to ensure
that
the
reading
returned to the controller is valid.
Refer to
Step Response
Time
in the Specification section of this
manual.
In program example
4, lines 230-250 use a FOR...NEXT
loop to
input five readings into variable R. At the
end of the
loop, variable R
contains the fifth reading.
In program example 5, lines 290-320, two DM 5010 read
ings
are compared; if the difference is greater than 0.001,
another reading is taken for comparison. Comparisons are
repeated until the difference indicates
two readings are
nearly
the
same.
Triggering
Measurements
To trigger a single conversion, use MODE TRIG and initi
ate
a trigger by using one of the following:
1. Talk-address the instrument. See program example 2
line
180.
2. SEND command.
3. Send
DT TRIG. Then trigger the DM 5010 by trans
mitting
a Group Execute Trigger (GET) interface message
(decimal
8 with ATN). Refer to program example
9, lines 120
and line 5.
4. If the EXTRIG
mode is enabled, hold P1031-16A on
the Isolation board low
for
10 µS or
less.
5. Instruct the operator to
press the front-panel TRIG
GERED button.
For repetitive
(free-run)
triggering, use the MODE RUN
command. If
the EXTRIG mode
is
enabled, hold P1031-16A
on the Isolation
board low.
Determining
Reading
Availability
It
is not
necessary to determine if a reading is available
when
the
instrument is talk addressed or when the SEND
command
is
used to return data. For either of these retrieval
methods, the
instrument triggers a
conversion if a reading
is
not
pending.
For
other retrieval methods, there are several ways to
determine if
a reading is available.
1. Send the RDY? query command. When the response
is
1, a reading is ready. See program example 3, line 140.
2.
Set
OPC ON and RQS ON. The instrument asserts
SRQ when a reading is available.
See example
8, line 150.
3. Repeat a serial
poll routine using the WBYTE state
ments until
the status byte is 132, 148', 140, or 156. See
example
9, lines 150 and 200.
The RDY?,
OPC
ON and
serial poll routine are useful
when several
tasks
are going on at the same time.
Sending
Readings
to a Listener
To
transfer a DM 5010 reading to a GPIB listener, the
instrument that is
to receive the data must be listen ad
dressed. Then talk address the DM 5010 to transmit read
ings.
When sent to
a controller, data can be read into a
string
or
numeric variable. See programming examples 2,
line 180, and
3, line 150.
3-30
Summary of Contents for DM 5010
Page 14: ...DM 5010 2994 00 DM 5010 Programmable Digital Multimeter xii ADD JUL 1986...
Page 27: ...Operating Instructions DM 5010 2994 03 Fig 2 3 DM 5010 front panel controls and connectors 2 3...
Page 38: ......
Page 134: ......
Page 208: ......
Page 222: ......
Page 250: ......
Page 251: ...Section 8 DM 5010 OPTIONS No options are available 8 1...
Page 252: ......
Page 270: ......
Page 272: ...DM 5010 2994 37 Fig 10 2 Location of DM 5010 adjustments and test points...
Page 273: ......
Page 274: ......
Page 275: ......
Page 276: ...DM 5010 2994 112 DM 5010 BLOCK DIAGRAM...
Page 281: ......
Page 282: ......
Page 291: ......
Page 293: ......
Page 294: ......
Page 297: ......
Page 298: ......
Page 303: ......
Page 304: ...I...
Page 305: ......
Page 310: ......
Page 311: ......
Page 315: ......
Page 318: ......
Page 321: ......
Page 323: ......
Page 326: ......
Page 332: ...2994 57...
Page 334: ......
Page 335: ......
Page 336: ......
Page 337: ...63 REV JUN 1986...
Page 338: ...FIG 1 EXPLODED DM 5010...
Page 339: ......
Page 340: ......
Page 341: ......
Page 347: ......