130 Agilent X-Series Signal Generators SCPI Command Reference
System Commands
Memory Subsystem (:MEMory)
A PRAM file is specified as an array of bytes.
"<file_name>" This variable names the destination file. No directory path name is needed.
<data_block> This parameter represents the data and file length parameters. The data in the file
is represented by the <data_block> variable. The file length parameters are used
by the signal generator for allocating memory.
Pattern Ram files are binary files downloaded directly into waveform memory as an array of bytes.
Each byte specifies a data bit (LSB 0), a burst bit (BIT 2), and an Event 1 output bit (BIT 6). Refer
to the Programming Guide for more information on pattern RAM downloading.
Example
:MEM:DATA:PRAM:FILE:BLOC "PRAM_Data",#14Yq8L
The preceding example downloads PRAM data to a file named PRAM_Data into the signal generator’s
volatile memory (WFM1).
NOTE The data, Yq8L, in the above command is not valid and is used for example purposes only.
Typically, ASCII characters representing data are unprintable.
Remarks Refer to “File Name Variables” on page 13 for information on the file name syntax.
:DATA:PRAM:FILE:LIST
Supported N5172B with Option 653 or 655, N5182B with Option 656 or 657
MEMory:DATA:PRAM:FILE:LIST "<file_name>",<uint8>[,<uint8>,<...>]
This command loads list- formatted data directly into pattern RAM volatile memory (WFM1). Pattern
RAM memory describes how memory (WFM1) is used and is not a distinct piece of memory. A PRAM
file is specified as an array of bytes.
NOTE This command should be preceded by a *WAI (Wait- to- Continue) command to ensure that all
pending operations are completed, before loading the list.
"<file_name>" This variable names the destination file.
<uint8> This variable is any of the valid 8- bit, unsigned integer values between 0 and 255.
[,<uint8>,<...>] This variable identifies the value of the second and subsequent 8- bit unsigned
integer variables.
•
"PRAM_Data" PRAM_Data is the file name. PRAM files are saved
to the signal generator’s volatile memory (WFM1).
• #14Yq8L Data block
# This character indicates the beginning of the data
1 Number of digits in the byte count
4 Byte count
Yq8L 4 bytes of data