EasyManuals Logo

Keysight Technologies N5166B CXG Programming Guide

Keysight Technologies N5166B CXG
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 #65 background imageLoading...
Page #65 background image
Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide 65
Programming Examples
Using the Programming Interface Examples
The signal generator’s VXI-11 SCPI service must be on before you can run the
Download Visual Basic 6.0 programming example.
You can start a new Standard EXE project and add the required references.
Once the required references are included, you can copy the example programs
into your project and add a command button to Form1 that will call the
program.
The example Visual Basic 6.0 programs are available on the signal generator
Documentation CD-ROM, enabling you to cut and paste the examples into
your project.
Visual Basic Examples
The Visual Basic examples enable the use of waveform files and are located in
Chapter 5.
“Creating I/Q Data—Little Endian Order” on page 301
“Downloading I/Q Data” on page 304
HP Basic Examples
“Interface Check using HP Basic and GPIB” on page 72
“Local Lockout Using HP Basic and GPIB” on page 76
“Queries Using HP Basic and GPIB” on page 80
Running Java Examples
The Java program “Sockets LAN Programming Using Java” on page 150,
connects to the signal generator through sockets LAN. This program requires
Java version 1.1 or later be installed on your PC. For more information on
sockets LAN programming with Java, refer to “Sockets LAN Programming
Using Java” on page 150.
If you want to use VISA functions such as viWrite, then you must add the
visa32.bas module to your Visual Basic project.
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 43.

Table of Contents

Other manuals for Keysight Technologies N5166B CXG

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keysight Technologies N5166B CXG and is the answer not in the manual?

Keysight Technologies N5166B CXG Specifications

General IconGeneral
BrandKeysight Technologies
ModelN5166B CXG
CategoryPortable Generator
LanguageEnglish

Related product manuals