National Instruments GPIB-MAC User Manual page 46

Table of Contents

Advertisement

November 1985
cmd - Send GPIB Commands
Syntax: cmd [#count]<CR>
commands<CR>
Purpose: You
functions do not meet the needs of your device.
allows you precise control over the GPIB. For example,
in applications that require command sequences not sent
by other functions,
sequence of interface messages (commands) over the
GPIB .
Remarks: The argument
number sign (#).
command bytes (interface messages) to send, which is a
number between 1 and 255. The number of command
bytes must not include the carriage return or linefeed that
you include to indicate the end of the programming
message.
The argument
These commands are represented by their ASCII
character equivalents. For example, the GPIB Untalk
Refer to Example 2 to learn how to send non-printable
characters.
If you call
recognizes the end of the command string when it sees
a <CR> or <LF>.
command string contains a <CR> or an (LF> character.
However, a <CR> or an d3;> in the command string
would be unusual since neither of these is a defmed
GPIB command.
SECTION FOUR - FUNCTIONS
35
cmd
use
when the I./O and bus management
cmd allows you
count
#count
commands
cmd
without
#count
is a numeric string preceded by a
specifies the number of GPIB
is a list of GPIB commands.
#count, the
is required only if the
cmd
to transmit any
GPIB-MAC

Advertisement

Table of Contents
loading

Table of Contents