8 - 5
8
Functional Syntax Elements (continued)
General rules:
1. <program mnemonic> shall have maximum length of 12 characters.
2. “:” is used to separate <program mnemonics>, and when preceding a
<PROGRAM MESSAGE UNIT>, it indicates that the following
<program mnemonic> is at the root level.
<PROGRAM MESSAGE UNIT>
1. <program mnemonic> can be either upper or lower case alpha.
2. <white space> is only allowed at the end of the header, or next to a “,”
or a “;”.
(See note on <white space> below.)
<RESPONSE MESSAGE UNIT>
1. <program mnemonic> shall contain upper case alpha only.
2. No <white space> allowed in message header.
To receive a response to a query command, append “^D” (ASCII 4 or
CTRL-D) to the <RESPONSE MESSAGE UNIT>. For example, after
sending *IDN?<RMT> followed by “^D”, the 2711A will respond with
“Pragmatic Instruments, Model 2711A, 0, V1.XX”.
Note: <white space> is defined as a length of 1 or more of <white space
characters>. A <white space character> is a single ASCII byte in the range of
00-09, 0B-20 Hex.
<PROGRAM MESSAGE>
- This is a series of <PROGRAM MESSAGE
UNITS> sent to the device in a single string. For example, to set the currently
selected waveform to
1) a sinewave output with phase zero, 2) burst mode, 3)a burst of 5, and 4) an
amplitude of 2.5Vp-p into 50
Ω
, you would send the following <PROGRAM
MESSAGE>:
WVFM:SINE 0;:MODE BURST;:BURST 5;:AMPL 2.5
{ msg 1 }
{ msg 2 } { msg 3 } { msg 4 }
The semicolon (ASCII 3B) is required to separate <PROGRAM MESSAGE
UNITS> within a <PROGRAM MESSAGE>. For the 2711A a <PROGRAM
MESSAGE> can be virtually any length. The structure for a <RESPONSE
MESSAGE> for query responses is similar.
Chapter 8 Advanced Remote Operation
RS 232 Overview
- Functional Syntax Elements (continued)
Содержание 2711A
Страница 9: ...1 1 1 Quick Start 1...
Страница 19: ...About Arbitrary Waveforms 2...
Страница 20: ...12 1 2 About Arbitrary Waveforms 2...
Страница 26: ...Front Panel Menu Operation 3...
Страница 27: ...3 1 3 Front Panel Menu Operation 3...
Страница 34: ...Waveform Creation System 4...
Страница 35: ...14 1 4 Waveform Creation System 4...
Страница 39: ...Multi Instrument Operation 5...
Страница 40: ...5 1 5 Multi Instrument Operation 5...
Страница 45: ...5 6 5...
Страница 46: ...Performance Verification 6...
Страница 47: ...6 1 6 Performance Verification 6...
Страница 51: ...7 1 7 Remote Interface Operation 7...
Страница 68: ...7 18 7...
Страница 69: ...8 1 8 Advanced Remote Operation 8...