Programming Examples; Using The Programming Interface Examples - Keysight E4428C ESG RF Programming Manual

Signal generators
Table of Contents

Advertisement

3

Programming Examples

NOTE
For the N5161A/62A the softkey menus and features mentioned in this chapter are only
available through the Web- Enabled MXG or through SCPI commands. Refer to "Using the Web
Browser" on page 11 and to the SCPI Command Reference.
• Using the Programming Interface Examples on page 73
• GPIB Programming Interface Examples on page 79
• LAN Programming Interface Examples on page 117
• RS-232 Programming Interface Examples (ESG/PSG Only) on page 153

Using the Programming Interface Examples

The programming examples for remote control of the signal generator use the GPIB, LAN, and
RS- 232 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:
HP Basic
C/C++
Java
Perl
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.
NOTE
The example programs set the signal generator into remote mode; front panel keys, except
the Keysight MXG Local/Esc/Cancel or the ESG, and PSG Local key, are disabled. Press the
Keysight Signal Generators Programming Guide
C#
Microsoft Visual Basic 6.0
MATLAB
73

Advertisement

Table of Contents
loading

Table of Contents