![background image](http://html1.mh-extra.com/html/racal-instruments/1261b/1261b_user-manual_3120226124.webp)
1261B User Manual
Racal Instruments
Ó
1995
SCPI Command Reference 5-5
Query Response
Format
The response to a query depends on the command sent to the
instrument to generate the query response. In general, a
response to a query contains present values or settings of the
EMS. Commands that set values can be queried about their
present value of the setting. Commands that set modes of
operation can be queried about their present mode setting.
SCPI Command
Terminator
A command string sent to the EMS must be terminated with a
one of the following:
1)
An ASCII linefeed character: (decimal 10, hex 0A,
‘C’ char ‘\n’).
2)
The last character with the END bit set to 1.
3)
An ASCII linefeed character with the END bit set to
1.
The END bit for a VXI instrument is analogous to the GPIB EOI
line. The END bit is sent along with each character using the
Word Serial Byte Available command. GPIB/VXI slot 0
controllers translate the GPIB EOI line to VXIbus protocol, which
sets the END bit to identify the last character of a command.
Over the RS-232 interface, there is no EOI line. Therefore, ALL
commands transmitted over the RS-232 interface must be
terminated with the ASCII
IEEE-STD-488.2
Common
Commands
The IEEE-STD-488.2 standard defines a set of common
commands that perform functions like reset, trigger and status
operations. Common commands begin with an asterisk ( * ), are
four to five characters in length, and may include 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; *STB?; *IDN?
SCPI Parameter
Type
The SCPI language defines several different data formats to be
used in program messages and response messages.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com