Scpi command for a block data download – Agilent Technologies N5183A MXG User Manual

Page 325

Advertising
background image

Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide

315

Creating and Downloading User-Data Files

Pattern RAM (PRAM) Data Downloads (E4438C and E8267D)

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

8- 6 on page 312

.

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 nonbursted 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 314

), 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 313

.

Command Syntax

:MEMory:DATA:PRAM:FILE:BLOCk <"file_name">,<blockdata>

The following sections explain how to format the SCPI command for downloading block data:

Command Syntax Example

Command Syntax in a Program Routine

Command Syntax Example

This example conceptually describes how to format a block data download command (#ABC represents
the block data):

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.

Advertising
This manual is related to the following products: