352 Keysight Signal Generators Programming Guide
Creating and Downloading User–Data Files
Pattern RAM (PRAM) Data Downloads (E4438C and E8267D)
SCPI Command for a List Format Download
Using the list format, enter the data in the command line using comma separated decimal values.
This file type takes longer to download because the signal generator must parse the data. When
creating the data, remember that the signal generator requires a minimum of 60 bytes. For more
information on file size limits, see “PRAM File Size” on page 350.
Command Syntax
:MEMory:DATA:PRAM:FILE:LIST <"file_name">,<uint8>[,<uint8>,<...>]
uint8 The decimal equivalent of an unsigned 8–bit integer value. For a list of usable
decimal values and their meaning with respect to the generated signal, see Table
6-10 on page 349.
Command Syntax Example
The following example, when executed, creates a new file in volatile (waveform) memory with the
following attributes:
• creates a file named new_file
• outputs a single pulse at the EVENT 1 connector
• bursts the data pattern 1100 seven times over 28 bytes
• transmits 32 non–bursted bytes
• resets the data pattern so it starts again
:MEMory:DATA:PRAM:FILE:LIST <"new_file">,85,21,20,20,21,21,20,20,21,21,20,20,21,21,
20,20,21,21,20,20,21,21,20,20,21,21,20,20,16,16,16,16,16,16,16,16,16,16,16,16,16,16,
16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,144
The following list defines the meaning of the different bytes seen in the command line:
SCPI Command for a Block Data Download
The IEEE standard 488.2–1992 section 7.7.6 defines block data. The signal generator is able to
download block data significantly faster than list formatted data (see page 352), because it does not
have to parse the data. When creating the data, remember that the signal generator requires a
minimum of 60 bytes. For more information on file size limits, see “PRAM File Size” on page 350.
85 Send a pulse to the EVENT 1 output, and burst the signal with a data bit of 1.
21 Burst the signal with a data bit of 1.
20 Burst the signal with a data bit of 0.
16 Do not burst the signal (RF output off), and set the data bit to 0.
144 Reset the data pattern, do not burst the signal (RF output off), and set the data bit to 0.