Lan Programming Interface Examples; Vxi-11 Programming - Keysight Technologies X-Series Programming Manual

Signal generators
Hide thumbs Also See for X-Series:
Table of Contents

Advertisement

Programming Examples

LAN Programming Interface Examples

LAN Programming Interface Examples
The LAN programming examples in this section demonstrate the use of
VXI-11 and Sockets LAN to control the signal generator.
To use these programming examples you must change references to the IP
address and hostname to match the IP address and hostname of your
signal generator.
For additional LAN programming examples that work with user-data files, refer
to:

VXI-11 Programming

The signal generator supports the VXI-11 standard for instrument
communication over the LAN interface. Keysight IO Libraries support the
VXI-11 standard and must be installed on your computer before using the
VXI-11 protocol. Refer to
configuring and using the VXI-11 protocol.
The VXI-11 examples use TCPIP0 as the board address.
Using VXI-11 with GPIB Programs
The GPIB programming examples that use the VISA library, and are listed in
"GPIB Programming Interface Examples" on page
to use the LAN VXI-11 protocol by changing the address string. For example,
change the "GPIB::19::INSTR" address string to "TCPIP::hostname::INSTR"
where hostname is the IP address or hostname of the signal generator. The
VXI-11 protocol has the same capabilities as GPIB. See the section
the LAN Interface" on page 43
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 VXI–11 Service" on page
Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide
"VXI-11 Programming Using SICL and C++" on page 116
"VXI-11 Programming Using VISA and C++" on page 118
"Sockets LAN Programming and C" on page 120
"Sockets LAN Programming Using Java" on page 150
"Sockets LAN Programming Using Perl" on page 153
"TCP-IP (LAN) Programming Using Matlab" on page 154
"Save and Recall Instrument State Files" on page 365
"Using VXI–11" on page 50
for more information.
43.
for information on
68, can be easily changed
"Setting Up
115

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents