![Tektronix 2714 Скачать руководство пользователя страница 243](http://html1.mh-extra.com/html/tektronix/2714/2714_programmers-manual_1077901243.webp)
Programming
2714 & 2715 Programmer Manual
6–45
Table 6–1: Variable Names
Name
Description
Remarks
BD%
Integer value associated with a
particular device name by
IBĆ
FIND(BDNAME$,BD%)
.
Other names can be used such as
MYDEV%
,
FRST.DEV%
,
A1%
, etc.
BDNAME$
String variable set to a device name
such as
TEK_SA
. The name is the
one used when you set up the
device with
IBCONF
.
Any string variable name can be
used such as
MYNAME$
,
DEVNAM$
,
DN$
, etc.
EVENT.CODE$
A string variable argument of
IBRD
containing the 2714 or 2715 event
code.
Any string variable name can be
used: (
MYNAME$
,
DEVNAM$
,
DN$
,
etc.)
IBCNT%
Integer variable updated by GPIB
system software after a read, write or
command: the number of bytes
transferred.
This name is reserved.
IBERR%
Integer variable returned by GPIB
system software when error bit of
status word is set. Range: 0 to 7, or
10 to 16.
See your GPIB manual for meanings
of
IBERR%
values. The name is
reserved.
IBSTA%
Integer variable updated by all GPIB
system software functions.
Refer to Status Byte on page 5–11.
NUMBYT%
Integer argument of
DEBLK
which
indicates the number of bytes
converted.
Any integer variable name can be
used (
MYNUM%
,
INTEG%
, etc.).
RD$
String variable used with the
IBDR
function to contain the data returned
by the 2714 or 2715.
Other names can be used such as
RET.DAT$
,
MYDAT$
,
S1$
, etc.
WRT$
A string variable used with the
IBWRT
function to contain the data
to be sent to the 2714 or 2715.
Other names can be used such as
WRT.DAT$
,
MESSAGE$
,
B4$
, etc.
You may desire to dimension arrays or variables at the beginning of your
program, even though they are to be used later. For instance,
CUR%()
is the
integer array used for curve data in our demonstration program.
RD$
is a string
variable that we use as the destination for a variety of data transfers.
If memory size is not a limiting factor in your controller, you may wish to set up
the maximum size of
RD$
at the head of the program with a
SPACE$
command as
in this example:
DIM SHARED CUR%(512)
RD$ = SPACE$(<max anticipated size>)
Содержание 2714
Страница 4: ......
Страница 11: ...Introduction ...
Страница 12: ......
Страница 38: ...Introduction to Programming 1 26 2714 2715 Programmer Manual ...
Страница 39: ...Message Structure ...
Страница 40: ......
Страница 54: ...Instrument Specific Message Structure 2 14 2714 2715 Programmer Manual ...
Страница 55: ...Functional Groups ...
Страница 56: ......
Страница 85: ...Command Query ...
Страница 86: ......
Страница 179: ...Status Reporting ...
Страница 180: ......
Страница 197: ...Programming ...
Страница 198: ......
Страница 266: ...Programming 6 68 2714 2715 Programmer Manual ...
Страница 267: ...Appendices ...
Страница 268: ......
Страница 276: ...Appendix A RS 232 Concepts A 8 2714 2715 Programmer Manual ...
Страница 296: ...Appendix B GPIB System Concepts B 20 2714 2715 Programmer Manual ...
Страница 297: ...Index ...
Страница 298: ......
Страница 307: ......
Страница 308: ......