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 #335 background imageLoading...
Page #335 background image
Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide 335
Creating and Downloading User–Data Files
User File Data (Bit/Binary) Downloads
<"file_name"> the data file path and name
# 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 file data in bytes
bin: the location of the file within the signal generator file
system
my_file the data file name as it will appear in the signal
generator’s memory catalog
# indicates the start of the block data
3 B has three decimal digits
240 240 bytes (1,920 bits) 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
following the command execution, the program downloads the binary file to
the signal generator. This is shown in the following section, “Command Format
in a Program Routine”
Some commands are file location specific and do not require the file location as
part of the file name. An example of this is the bit file SCPI command shown in
“Commands for Bit File Downloads” on page 338.
Command Format in a Program Routine
This section demonstrates the use of the download SCPI command within the
confines of a C++ program routine. The following code sends the SCPI
command and downloads user file data to the signal generator’s Binary
memory catalog (directory).
file_name A
C
:MEM:DATA “bin:my_file”,#324012%S!4&07#8g*Y9@7...
B
file location

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