113
────────────────────────────────────────────────────
8.3.5 Specific Commands for Data Input
────────────────────────────────────────────────────
Syntax
:MEMory:WAVE:SEND "<name>",
<range>, <freq>, <amp>, <offset>,
<no.>,#0<binary1u><binary1l>
<binary2u><binary2l>...<binaryNu>
<binaryNl>[NL]
"<name>" Waveform name
<range> Character string
=R10V (10 V range)
=R1V (1 V range)
=R0_1V (0.1 V range)
<freq> Clock frequency is specified in
NRf data format
=10e+6 to 0 (Units: Hz)
<amp> Amplitude value is specified in
NRf data format (Units: V)
<offset> Offset value is specified in
NRf data format (Units: V)
The sum of the offset and the
amplitude must not exceed the
voltage range.
<no.> The number of data is specified
in NRf data format.
= up to 128000
#0<binary>[NL]*1
Sets 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].
Example
Transmission
:MEMORY:WAVE:SEND 'WAVE1',
R10V,10e6,10,0,5,#000007D007D0083
008300[NL]
Writes 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,
-10Vand-10V.
Refere nce
0 V = 0000
D
= 0000
H
10 V = 32000
D
=7D00
H
-10 V = -32000
D
= 8300
H
Function
A set of arbitrary waveform data items
is input using the specified formats.
Notes
Lower-case characters are converted to
upper case.
If a waveform with the same name
already exists, its data is overwritten.
A maximum of 8 waveforms can be
input.
The file name must be surrounded by
single (' ') or double (" ") quotes.
The waveform name may consist of
capital letters and ! # % $ - ^ and _
characters. The name must conform to
the "8.3" MS-DOS file naming format.
Lower-case letters are converted to
capitals.
DBCS characters cannot be used.
Example
WAVE1, 123WAVE,WAVE-01
Upon normal finish, EOWL in Event
Status Register 0 is set.
Several seconds will be required if
there is a large amount of waveform
data to be written.
Errors
(Execution error)
When 8 waveforms are already present
When frequency, amplitude, offset or
data values are out of range
When the sweep data is not converted
such as RUN active.
(Command error)
When the range is specified by an
improper string
:MEMory:WAVE:SEND (GP-IB only)
Input 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.