62 Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide
Programming Examples
Using the Programming Interface Examples
Using the Programming Interface Examples
The programming examples for remote control of the signal generator use the
GPIB and LAN interfaces and demonstrate instrument control using different
IO libraries and programming languages. Many of the example programs in this
chapter are interactive; the user will be prompted to perform certain actions or
verify signal generator operation or functionality. Example programs are
written in the following languages:
These example programs are also available on the signal generator
Documentation CD-ROM, enabling you to cut and paste the examples into a
text editor.
To have the signal generator’s front panel update with changes caused by
remote operations, enable the signal generator’s Update in Remote function.
Programming Examples Development Environment
The C/C++ examples were written using an IBM-compatible personal
computer (PC), configured as follows:
— Pentium processor (Pentium is a registered trademark of Intel Corporation.)
— 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
— LAN interface card
The HP Basic examples were run on a UNIX 700 series workstation.
HP Basic
C#
C/C++
Microsoft Visual Basic 6.0
Java
MATLAB
Perl
The example programs set the signal generator into remote. Press the
Keysight MXG Local/Esc/Cancel
key to revert to manual operation.
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” on
.
Содержание X-Series
Страница 4: ...4 ...
Страница 10: ...10 Contents ...