![Tektronix DM 5010 Скачать руководство пользователя страница 110](http://html1.mh-extra.com/html/tektronix/dm-5010/dm-5010_instruction-manual_1078359110.webp)
DM
5010 Instrument
Interfacing
Guide
Notice
that the
DM 5010 message (what's inside
the
quote marks) is the same
in all of the above exam
ples.
The
rest of each example varies to match the
statement syntax designed into
each controller
as
illustrated
in Fig.
2. This suggests that once you
understand your controller's
output and input state
ments, it's just
a
matter of plugging
in the DM
5010
commands you
need.
4050-Series
BASIC
4041
BASIC
HP-85
BASIC
FLUKE 1720A BASIC
HP
9826
BASIC
@5:“RQS ON”
#5:“RQS ON”
OUTPUT
705 ;
“RQS
ON”
@5%,
“RQS
ON”
OUTPUT
705;“
RQS ON”
4603
*5
Fig.
2. A
message to a
GPIB device is contained
with
in the controller's
GPIB
output statement. The state
ment
is
composed of three
parts: the keyword, the
address or logical unit number,
and the device-depen
dent
message. AH the statements shown send the
same
standard
Tektronix Codes & Formats message
(RQS ON) that enables SRQ interrupts. All send the
message
to
an instrument with primary address 5.
The
difference
lies in the syntax
of the statement re
quired for a
particular controller.
Getting
DM
5010
Current Settings
DM
5010
queries or output
commands (such as
FUNCT?,
MODE?, or SEND) prepare the instrument
for
output,
but
do not
start such output.
The DM 5010
waits
until
it sees its
talk address to begin sending the
requested
data.
This is accomplished by the INPUT
statement.
4050-Series:
280 PRINT
@16:"
FUNC?"
290 INPUT @16:F$
4041:
290
input #16
prompt "FUNC?":fnction$
All instrument
settings can be obtained
in one mes
sage. Just
dimension
a string large enough
(300 char
acters
is plenty) and
input the
settings string.
4050-Series:
330 DIM S
$(300)
340
@16:"SET?"
350
INPUT
@16:S$
4041:
330
Dim setting$ to 300
340
Input #16
prompt "SET?”:setting$
You
can
restore the
settings you input from the DM
5010 by sending back the
settings string.
4050-Series:
380
PRINT @16:S$
4041:
380 Print #16:
setting$
Getting
DM
5010
Measurements
Getting
measurements from the DM 5010 is even
easier than
getting
settings data. Sending the
DM
5010
talk
address, which INPUT does, is enough to
cause the
DM 5010 to output a reading. (The DM
5010 responds with
a reading
if it has not been told by
a
query command to respond with some other out
put.)
The
DM 5010 sends the reading as ASCII nu
meric
characters, which may
be input into a character
string
or numeric variable.
The variable and
its type
are
specified
after the colon in the INPUT statement.
4050-Series:
430 INPUT
@
16:R
4041:
430
Input
#16:reading
If
a reading is not available,
say the DM 5010 was
set to triggered
mode but no reading was triggered,
the INPUT
statement causes the DM 5010 to trigger a
reading
and
output it as
soon as it is available. Mean
while, it holds off further GPIB activity by halting the
handshake. This may be
undesirable if the DM
5010
is
set to
average many readings before it can output a
response.
The SEND command is provided for this
reason.
Its use is
illustrated in the sample measure
ment program later in this
guide. SEND allows the
program
to
handle
other events or do other process
ing while many readings are averaged. It
also avoids a
timeout, which
occurs if the DM 5010 is talked but
cannot supply
output within five
seconds.
If
the program
does request a long averaging oper
ation,
does not use SEND,
and attempts to INPUT the
reading before
it
is ready, it can cause the DM
5010 to
time out.
If a time out occurs, the DM 5010 does not
6
Содержание DM 5010
Страница 14: ...DM 5010 2994 00 DM 5010 Programmable Digital Multimeter xii ADD JUL 1986...
Страница 27: ...Operating Instructions DM 5010 2994 03 Fig 2 3 DM 5010 front panel controls and connectors 2 3...
Страница 38: ......
Страница 40: ...Programming DM 5010 2994 07 Fig 3 1 instrument commands and relationship to front panel controls 3 2...
Страница 101: ...Theory of Operation DM 5010 SOURCE ACCEPTOR 2874 1 50A Fig 4 15 GP B Handshake flowchart ADD JAN 1982 4 27...
Страница 134: ......
Страница 208: ......
Страница 222: ......
Страница 250: ......
Страница 251: ...Section 8 DM 5010 OPTIONS No options are available 8 1...
Страница 252: ......
Страница 270: ......
Страница 272: ...DM 5010 2994 37 Fig 10 2 Location of DM 5010 adjustments and test points...
Страница 273: ......
Страница 274: ......
Страница 275: ......
Страница 276: ...DM 5010 2994 112 DM 5010 BLOCK DIAGRAM...
Страница 281: ......
Страница 282: ......
Страница 291: ......
Страница 293: ......
Страница 294: ......
Страница 297: ......
Страница 298: ......
Страница 303: ......
Страница 304: ...I...
Страница 305: ......
Страница 310: ......
Страница 311: ......
Страница 315: ......
Страница 318: ......
Страница 321: ......
Страница 323: ......
Страница 326: ......
Страница 332: ...2994 57...
Страница 334: ......
Страница 335: ......
Страница 336: ......
Страница 337: ...63 REV JUN 1986...
Страница 338: ...FIG 1 EXPLODED DM 5010...
Страница 339: ......
Страница 340: ......
Страница 341: ......
Страница 347: ......