
124
Agilent X-Series Signal Generators SCPI Command Reference
System Commands
Memory Subsystem (:MEMory)
The preceding example downloads and appends the data, Y9oL, to an existing file named IQ_Data
stored in the signal generator’s non–volatile memory (NVWFM).
Remarks
Refer to
File Name Variables
for information on the file name syntax.
:DATA:BIT
Supported
N5172B with Option 653 or 655, N5182B with Option 656 or 657
:MEMory:DATA:BIT <"filename">,<bit_count>,<datablock>
:MEMory:DATA:BIT? <"filename">
This command loads bit data into signal generator memory using the
<bit_count>
and
<datablock>
parameters and saves the data to a file designated by the
<"filename">
variable. The query returns
the bit count, file length information, and the data.
<"filename">
This variable names the destination file and the directory path.
<
bit_count
>
This number represents the number of bits in the data block.
<datablock>
This parameter represents the data and file length parameters. The data in the file
is represented by the
<datablock>
variable. The file length parameters are used
by the signal generator for allocating memory.
Refer to the
Programming Guide
for more information on downloading and using files.
Example
:MEM:DATA:BIT "Test_Data",16,#12Qz
The preceding example downloads bit data to the file,
Test_Data
. The table below describes the
command parameters.
•
"NVWFM:IQ_Data"
IQ_Data the file name. The directory path is not needed. The path
"/USER/WAVEFORM/" is implied.
•
#14Y9oL
Data block
#
This character indicates the beginning of the data block
1
Number of digits in the byte count
4
Byte count
Y9oL
4 bytes of data
•
"Test_Data"
Test_Data
is the file name. The directory path is not
needed. The path
"/USER/BIT/"
is implied.
•
16
Number of bits in the data block
•
#12Qz
Data block
#
This character indicates the beginning of the data block
1
Number of digits in the byte count