Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 226

Multimètre

Publicité

6
Command Reference
Language conventions
The multimeter communicates with a system controller over the GPIB bus.
instrument connected to GPIB has a unique address. The examples used in this
manual are intended for Hewlett-Packard Series 200 or 300 Computers using
BASlC language. They assume an GPIB interface select code of 7 and a device
address of 22 (factory address setting) resulting in a combined GPIB address of
722. We recommend you retain this address to simplify programming.
Command termination
The carriage return (cr), line feed (lf), semicolon ( ; ), or EOI sent concurrent with
the last character indicate the end of message (command terminator) to the
multimeter. When you send a command from the system controller in the
standard format (e.g., OUTPUT 722;"TEST"), the controller typically adds a cr lf to
the end of the command. With its input buffer off (off is the power-on input buffer
mode), the multimeter processes the cr immediately, but does not process the lf
until the command completes execution. This means that, because of the lf, the
bus is held and you cannot regain use of the controller until the multimeter is
done executing the command (or the GPIB CLEAR command is executed which
aborts execution of the command). You can prevent. the bus from being held by
suppressing the cr lf when sending commands or by enabling the input buffer
(INBUF ON command). The following program line shows how to use the # and K
image specifiers to suppress cr lf when sending a multimeter command.
OUTPUT 722 USING "#,K";"TEST;"
The # and K image specifiers apply to HP Series 200/300 computers. Refer to
NOTE
your computer's operating manual for information on how your computer
suppresses cr lf. The semicolon following the TEST command indicates the end
of the command to the multimeter and must be present when you suppress cr lf.
[1] GPIB (General Purpose Interface Bus) is Keysight Technologies implementation of IEEE Standard
226
488-1978 and ANSI MC1.1.
Keysight 3458A User's Guide
[1]
Each

Publicité

loading