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 #68 background imageLoading...
Page #68 background image
68 Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide
Programming Examples
GPIB Programming Interface Examples
GPIB Programming Interface Examples
“Interface Check using HP Basic and GPIB” on page 72
“Interface Check Using NI-488.2 and C++” on page 73
“Interface Check for GPIB Using VISA and C” on page 75
“Local Lockout Using HP Basic and GPIB” on page 76
“Local Lockout Using NI-488.2 and C++” on page 78
“Queries Using HP Basic and GPIB” on page 80
“Queries Using NI-488.2 and Visual C++” on page 82
“Queries for GPIB Using VISA and C” on page 85
“Generating a CW Signal Using VISA and C” on page 88
“Generating an Externally Applied AC-Coupled FM Signal Using VISA and
C” on page 91
“Generating an Internal FM Signal Using VISA and C” on page 93
“Generating a Step-Swept Signal Using VISA and C++” on page 96
“Generating a Swept Signal Using VISA and Visual C++” on page 98
“Saving and Recalling States Using VISA and C” on page 101
“Reading the Data Questionable Status Register Using VISA and C” on
page 104
“Reading the Service Request Interrupt (SRQ) Using VISA and C” on
page 110
Before Using the GPIB Examples
HP Basic addresses the signal generator at 719. The GPIB card is addressed at
7 and the signal generator at 19. The GPIB address designator for other
libraries is typically GPIB0 or GPIB1.
GPIB Function Statements (Command Messages)
Function statements are the basis for GPIB programming and instrument
control. These function statements, combined with SCPI, provide management
and data communication for the GPIB interface and the signal generator.
This section describes functions used by different IO libraries. For more
information, refer to the NI-488.2 Function Reference Manual for Windows,
Keysight Standard Instrument Control Library reference manual, and Microsoft
Visual C++ 6.0 documentation.
Abort Function
The HP Basic function ABORT and the other listed IO library functions terminate
listener/talker activity on the GPIB and prepare the signal generator to receive
a new command from the computer. Typically, this is an initialization command
used to place the GPIB in a known starting condition.
Library Function Statement Initialization Command
HP Basic The ABORT function stops all GPIB activity. 10 ABORT 7

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