A BASIC example:
100 OUTPUT719;
“programming codes”
The many programming codes for the swept CW generator are listed
in the “SCPI Command Summary” in Chapter
2.
Related statements used by some computers:
CONTROL
CONVERT
IMAGE
IOBUFFER
TRANSFER
Enter
Enter is the complement of OUTPUT, and is used to transfer data
from the addressed instrument to the controller. The syntax is:
device
device
selector
selector
A
I
A
line
n u m b e r
ENTER is always used in conjunction with OUTPUT, such as:
100
OUTPUT 719;
. . . programming codes . . .
110
ENTER719;
. . . response
data...
ENTER statements are commonly formatted, which requires the
secondary command USING and the appropriate image items. The
most-used image items involve end-of-line (EOL) suppression, binary
inputs, and literal inputs. For example:
100
A, B, C
suppresses the EOL sequence
and indicates that variables A, B,
and C are to be filled with binary (B) data. As another example,
100 ENTER719 USING
A$
suppresses EOL, and indicates that string variable A$ is to be filled
with 123 bytes of literal data (123A).
Getting Started Programming
1