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 #78 background imageLoading...
Page #78 background image
78 Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide
Programming Examples
GPIB Programming Interface Examples
300 PRINT ".......... Press Continue"
310 PAUSE
320 PRINT
330 LOCAL 7 ! Returns signal generator to Local control
340 ! The following print statements are user prompts
350 PRINT "Signal generator should now be in Local mode."
360 PRINT
370 PRINT "Verify that the signal generator's front-panel keyboard
is functional."
380 PRINT
390 PRINT "To re-start this program press RUN."
400 END
Local Lockout Using NI-488.2 and C++
This example uses the NI-488.2 library to set the signal generator local lockout
mode. Launch Microsoft Visual C++ 6.0, add the required files, and enter the
following code into your .cpp source file. niex2.cpp performs the following
functions:
— all front panel keys, except the contrast key
— places the signal generator into remote
— prompts the user to verify the signal generator is in remote
— places the signal generator into local
The following program example is available on the signal generator
Documentation CD-ROM as niex2.cpp.
//
*******************************************************************
// PROGRAM NAME: niex2.cpp
//
// PROGRAM DESCRIPTION: This program will place the signal generator
into
// LOCAL LOCKOUT mode. All front panel keys, except the Contrast
key, will be disabled.
// The local command, 'ibloc(sig)' executed via program code, is the
only way to
// return the signal generator to front panel, Local, control.
//
*******************************************************************

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