EasyManua.ls Logo

Keysight E4428C ESG RF - Programming Examples Development Environment; Running C++ Programs

Keysight E4428C ESG RF
404 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
Loading...
74 Keysight Signal Generators Programming Guide
Programming Examples
Using the Programming Interface Examples
Keysight MXG Local/Esc/Cancel or the ESG, PSG Local key to revert to manual operation.
To have the signal generator’s front panel update with changes caused by remote operations, enable
the signal generator’s Update in Remote function.
NOTE The Update in Remote function will slow test execution. For faster test execution, disable the
Update in Remote function. (For more information, refer to or “Configuring the Display for
Remote Command Setups (MXG)” on page 20.) or “Configuring the Display for Remote Command
Setups (ESG/PSG)” on page 20.
Programming Examples Development Environment
The C/C++ examples were written using an IBM- compatible personal computer (PC), configured as
follows:
Pentium processor
Windows NT 4.0 operating system or later
C/C++ programming language with the Microsoft Visual C++ 6.0 IDE
National Instruments PCI- GPIB interface card or Keysight GPIB interface card
National Instruments VISA Library or Keysight VISA library
COM1 or COM2 serial port available
•LAN interface card
The HP Basic examples were run on a UNIX 700 series workstation.
Running C++ Programs
When using Microsoft Visual C++ 6.0 to run the example programs, include the following files in your
project.
When using the VISA library:
add the visa32.lib file to the Resource Files
add the visa.h file to the Header Files
When using the NI- 488.2 library:
add the GPIB- 32.OBJ file to the Resource Files
add the windows.h file to the Header Files
add the Deci- 32.h file to the Header Files
For information on the NI- 488.2 library and file requirements refer to the National Instrument
website. For information on the VISA library see the Keysight website or National Instrument’s
website.
NOTE To communicate with the signal generator over the LAN interface you must enable the
VXI- 11 SCPI service. For more information, refer to “Configuring the DHCP LAN (Keysight

Table of Contents

Related product manuals