EasyManuals Logo

Keysight Technologies N5166B CXG Programming Guide

Keysight Technologies N5166B CXG
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 #71 background imageLoading...
Page #71 background image
Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide 71
Programming Examples
GPIB Programming Interface Examples
Clear Function
The HP Basic function CLEAR and the other listed IO library functions clear the
signal generator.
Output Function
The HP Basic IO function OUTPUT and the other listed IO library functions put
the signal generator into a listen mode and prepare it to receive ASCII data,
typically SCPI commands.
Library Function Statement Initialization Command
HP Basic The CLEAR 719 function halts all pending
output-parameter operations, resets the parser (interpreter of
programming codes) and prepares for a new programming
code, stops any sweep in progress, and turns off continuous
sweep.
10 CLEAR 719
VISA Library The VISA library uses the viClear function. This function
performs an IEEE 488.1 clear of the signal generator.
viClear (ViSession
vi)
NI-488.2 The NI-488.2 library function sends the GPIB Selected Device
Clear (SDC) message to the device described by ud.
ibclr (int ud)
SICL The Keysight SICL function clears a device or interface. The
function also discards data in both the read and write
formatted IO buffers. The id parameter identifies the session.
iclear (id)
Library Function Statement Initialization Command
HP Basic The function OUTPUT 719 puts the signal generator into
remote mode, makes it a listener, and prepares it to receive
data.
10 OUTPUT 719
VISA Library The VISA library uses the above function and associated
parameter list to output data. This function formats according
to the format string and sends data to the device. The
parameter list describes the session id and data to send.
viPrintf
(parameter list)
NI-488.2 The NI-488.2 library function addresses the GPIB and writes
data to the signal generator. The parameter list includes the
instrument address, session id, and the data to send.
ibwrt (parameter
list)
SICL The Keysight SICL function converts data using the format
string. The format string specifies how the argument is
converted before it is output. The function sends the
characters in the format string directly to the instrument. The
parameter list includes the instrument address, data buffer to
write, and so forth.
iprintf (parameter
list)

Table of Contents

Other manuals for Keysight Technologies N5166B CXG

Questions and Answers:

Question and Answer IconNeed help?

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

Keysight Technologies N5166B CXG Specifications

General IconGeneral
BrandKeysight Technologies
ModelN5166B CXG
CategoryPortable Generator
LanguageEnglish

Related product manuals