111
────────────────────────────────────────────────────
8.3.5 Specific Commands for Data Input
────────────────────────────────────────────────────
Syntax
:MEMory:WAVE:RECeive? "<name>"
"<name>" Waveform name
Response
syntax
(Header ON)
:MEMORY:WAVE:RECEIVE
"<name>",<range>,<freq>,<amp>,
<offset>,<no.>,#0<binary1u>
<binary1l><binary2u><binary2l>...
<binaryNu><binaryNl>[NL]
(Header OFF)
"<name>",<range>,<freq>,<amp>,
<offset>,<words>,#0<binary1u>
<binary1l><binary2u><binary2l>...
<binaryNu><binaryNl>[NL]
Example
Transmission
Response
:MEM:WAVE:REC? 'WAVE1'
(Header ON)
:MEMORY:WAVE:RECEIVE "WAVE1",
R10V,10000000.00,10.00000,0.00000,
5,#000007D007D0083008300[NL]
(Header OFF)
"WAVE1",R10V,10000000.00,
10.00000,0.00000,5,#000007D007D00
83008300[NL]
Reads the data of the waveform named
WAVE1. The range is 10 V, clock
frequency is 10 MHz, amplitude is 10
V, offset is 0 V and there are five data
points: 0 V, 10 V, 10 V, -10 V and -
10 V.
Refere nce
0 V = 0000
D
= 0000
H
10 V = 32000
D
=7D00
H
-10 V = -32000
D
= 8300
H
Function
<range>
Returns the range as character.
=R10 V (10 V range)
=R1 V (1 V range)
=R0_1 V (0.1 V range)
<freq>
Returns the clock frequency as NRf
numerical data. Unit: Hz
<amp>
Returns the amplitude as NRf
numerical data. Unit: V
<offset>
Returns the offset as NRf numerical
data. Unit: V
<no.>
Returns the number of data as NRf
numerical data. Unit: V
#0<binary>[NL]*1 (see below)
Returns the waveform data as binary
data.
The head of the binary data is prefixed
by "#0" (23h, 30h), and the data is
terminated by (0Ah) + (EOF) to
signify [NL].
Note
Waveform names are case sensitive.
Error
(Execution error)
If the specified waveform does not
exist.
8.3.5 Specific Commands for Data Input
:MEMory:WAVE:RECeive? (GP-IB only)
Outputs the arbitrary waveform data.
*1:
<binary> format
<binary1u><binary1l><binary2u><binary2l>...<binaryNu><binaryNl>
<binary1u> The upper byte of the first waveform data word
<binary1l> The lower byte of the first waveform data word
<binaryNu> The upper byte of the Nth waveform data word
<binaryNl> The lower byte of the Nth waveform data word
Each data word consists of two bytes. The maximum amplitude is
indicated by 32000 to -32000. (10 V to -10V). See Appendix 1.