R&S AFQ100A
AFQ Commands - Signal Generation
1401.3084.32 6.15
E-3
[SOURce:]WAVeform:CATalog:LENGth?
This command reads out the number of files in the default directory for waveform files. Only files with
the file extension *.wv will be counted.
The command is a query command and therefore has no *RST value.
Example:
WAV:CAT:LENG?
'reads out the number of files in the default waveform directory.
Response: "1"
'there is 1 file in the default waveform directory.
*RST value
Resolution
Options
SCPI
-
-
Device-specific
[SOURce:]WAVeform:CATalog?
This command reads out the files in the default directory. The default directory is set using command
MMEM:CDIRectory
. When the names of the waveform files are returned they are separated by
commas. Only files with the file extension *.wv will be listed.
The command is a query command and therefore has no *RST value.
Example:
MMEM:CDIR 'D:\user\waveform'
'sets the default directory to D:\user\waveform.
WAV:CAT?
'reads out all the files in the default directory.
Response:
"sin1, wave"
'the directory D:\user\waveform contains the waveform files
'sin1.wv'
and
'wave.wv'
.
*RST value
Resolution
Options
SCPI
-
-
Device-specific
[SOURce:]WAVeform:DATA
<waveform filename>,<binary data block>
This command writes the block data <binary data block> to the file identified by <waveform
filename>. The IEC bus delimiter should be set to EOI when this is done, in order to ensure trouble-
free data transmission.
The associated query command transmits the specified file from the instrument to the control
computer via the IEC bus . Please note that the buffer on the control computer must be big enough
to accept the file. The setting for the IEC bus delimiter is of no significance.
Using this command, waveforms can be read out directly from or sent directly to the instrument.
WAV:DATA
File, block data (without query)
or
WAV:DATA?
File,Tag (query only)