B.1.5 scpi command terminators, B.1.6 ieee-488.2 common commands, B.1.7 scpi parameter types – BNC 645 User Manual

Page 123

Advertising
background image

123

You can also query the minimum or maximum start frequency allowed
for the current waveform function as follows:


"STAR? MIN"
"STAR? MAX"

Caution

• If you send two query commands without reading the response

from the first, then when you attempt to read the response, you
may receive some data from the first response followed by the
complete second response. To avoid this, do not send a query
command without reading the response. When you cannot avoid
this situation, send a device clear before sending the second query
command.

B.1.5 SCPI Command Terminators
A command string sent to the multimeter must terminate with a <new
line

> character. The IEEE-488 EOI (end-or-identify) message is

interpreted as a <new line> character and can be used to terminate a
command string in place of a <new line> character. A <carriage return>
followed by a <new line> is also accepted. Command string termination
will always reset the current SCPI command path to the root level.

B.1.6 IEEE-488.2 Common Commands
The IEEE-488.2 standard defines a set of common commands that
perform functions like reset, self-test, and status operations. Common
commands always begin with an asterisk ( * ), are four to five characters
in length, and may include one or more parameters. The command
keyword is separated from the first parameter by a blank space. Use a
semicolon

( ; ) to separate multiple commands as shown below:


"*RST; *CLS; *ESE 32; *OPC?"

B.1.7 SCPI Parameter Types
The SCPI language defines several different data formats to be used in
program messages and response messages.

Advertising