BHK-1/2-MG 030916
3-29
3.7.6
PROGRAM MESSAGE SYNTAX SUMMARY
•
Common commands begin with an asterisk (*).
•
Queries end with a question mark (?).
• Program messages consist of a root keyword and, in some cases, one or more mes-
sage units separated by a colon (:) followed by a message terminator. Several mes-
sage units of a program message may be separated by a semicolon (;) without
repeating the root keyword.
• If a program message has more than one message unit, then a colon (:) must precede
the next keyword in order to set the parser back to the root (otherwise the next keyword
will be taken as a subunit of the previous message unit).
e.g., the command
meas:volt?;curr?
will read output voltage and output current
since both
volt?
and
curr?
are interpreted as subunits of the
meas
command.
• Several commands may be sent as one message; a line feed terminates the message.
Commands sent together are separated by a semicolon (;). The first command in a
message starts at the root, therefor a colon (:) at the beginning is not mandatory.
e.g., the command
meas:volt?;:curr?
will read output voltage and programmed
current since the colon preceding
curr?
indicates that
curr?
is not part of the
meas
command and starts at the root.
• UPPER case letters in mnemonics are mandatory (short form). Lower case letters may
either be omitted, or must be specified completely (long form)
e.g.,
INSTrument
(long form) has the same effect as
INST
(short form).
• Commands/queries may be given in upper/lower case (long form)
e.g.,
SoUrCe
is allowed.
• Text shown between brackets [ ] is optional.
e.g.,
:[SOUR]VOLT:[LEV] TRIG
has the same effect as
:VOLT TRIG
3.7.7
SCPI PROGRAM EXAMPLES
Refer to Appendix B, Figures B-1 through B-7 for examples illustrating the use of SCPI com-
mands.
Figure 3-6 is an example of a program using SCPI commands to program the BHK-MG 40W
Power Supply. The program illustrated is for a configuration using an IBM PC or compatible with
a National Instruments GPIB interface card. (It will be necessary to consult the manufacturer’s
data to achieve comparable functions with an interface card from a different manufacturer.) This
program sets output voltage (Voltage mode) or voltage limit (Current mode) to 5V, and current
limit (Voltage mode) or output current (Current mode) to 1A, then reads the measured (actual)
voltage and current, then prints the measurements.
Содержание BHK-MG Series
Страница 2: ......
Страница 6: ......
Страница 16: ......
Страница 18: ...xii BHK MG030916 FIGURE 1 1 BHK MG 40W SERIES PROGRAMMABLE POWER SUPPLY...
Страница 24: ...1 6 BHK 1 2 MG OPR 030916 FIGURE 1 2 BHK 40W SERIES POWER SUPPLY MECHANICAL OUTLINE DRAWING SHEET 1 OF 2...
Страница 25: ...BHK 1 2 MG OPR 030916 1 7 FIGURE 1 2 BHK 40W SERIES POWER SUPPLY MECHANICAL OUTLINE DRAWING SHEET 2 OF 2...
Страница 26: ...1 8 BHK 1 2 MG OPR 030916 FIGURE 1 3 RA 24 RACK ADAPTER WITH TWO 1 2 RACK BHK MG 40W UNITS...
Страница 35: ...BHK 1 2 MG SERIES 030916 2 3 FIGURE 2 2 BHK MG SERIES REAR PANEL CONTROLS AND CONNECTIONS...
Страница 100: ...3 54 BHK 1 2 MG 030916 FIGURE 3 20 SERIES AUTOMATIC CONFIGURATION...
Страница 108: ...3 62 BHK 1 2 MG 030916 FIGURE 3 23 PARALLEL AUTOMATIC CONFIGURATION Eo is the output voltage of the power assembly...
Страница 113: ...BHK 1 2 MG 030916 3 67 FIGURE 3 25 PARALLEL MASTER SLAVE CURRENT MODE CONFIGURATION...
Страница 150: ......