EasyManuals Logo

Keysight Technologies N5172B EXG Programming Guide

Keysight Technologies N5172B EXG
398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #352 background imageLoading...
Page #352 background image
352 Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide
Creating and Downloading User–Data Files
Pattern RAM (PRAM) Data Downloads
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 349.
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):
:MEMory:DATA:PRAM:FILE:BLOCk <"file_name">,#ABC
<"file_name"> the file name as it will appear in the signal generator
# indicates the start of the block data
A the number of decimal digits present in B
B a decimal number specifying the number of data bytes
to follow in C
C the PRAM file data in bytes
my_file the PRAM file name as it will appear in the signal
generator’s WFM1 memory catalog
# indicates the start of the block data
3 B has three decimal digits
240 240 bytes of data to follow in C
12%S!4&07#8g*Y9@7... the ASCII representation of some of the
block data (binary data) downloaded to the signal
generator, however not all ASCII values are printable
In actual use, the block data is not part of the command line as shown above,
but instead resides in a binary file on the PC/UNIX. When the program
executes the SCPI command, the command line notifies the signal generator
that it is going to receive block data of the stated size, and to place the file in
the signal generator file directory with the indicated name. Immediately
file_name A
C
:MEMory:DATA:PRAM:FILE:BLOCk “my_file”,#324012%S!4&07#8g*Y9@7...
B

Table of Contents

Other manuals for Keysight Technologies N5172B EXG

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keysight Technologies N5172B EXG and is the answer not in the manual?

Keysight Technologies N5172B EXG Specifications

General IconGeneral
BrandKeysight Technologies
ModelN5172B EXG
CategoryPortable Generator
LanguageEnglish

Related product manuals