N9064A VXA Vector Signal Analyzer Programming Samples
Two program samples are available for N9064A VXA Vector Signal Analyzer Mode:
•
"Vector Analysis Measurement" on page 49
•
"Digital Demod Measurement" on page 49
Each sample is implemented for three development environments, programming languages and driver technologies:
•
Keysight VEE Pro,
•
Visual Basic 6 with VISA COM,
•
Visual Studio 2003 / VB.NET with VISA COM
The VEE samples consist of a single file each, whereas the Visual Basic 6 and Visual Studio 2003 samples consist of
project file sets in specified subfolders.
NOTE
These samples have all been tested and validated as functional in N9064A VXA Vector Signal
Analyzer Mode.
Vector Analysis Measurement
Function
Set up a Vector Analysis Measurement, then read trace data.
Description
This example program:
1.
Creates a ResourceManager object (except in VEE example)
2.
Creates a FormattedIO488 interface object (except in VEE example)
3.
Sets VXA Mode
4.
Sets Vector Analysis Measurement
5.
Configures the measurement
6.
Initiates the measurement
7.
Reads Trace 1 data in REAL,64 format (also in ASCii and REAL,32 formats for VEE example)
8.
Outputs the trace data to the computer screen
9.
Closes the FormattedIO488 interface (except in VEE example)
File or Project
VEE: vxa-measdemo.vee
Folder name
Visual Basic 6 / VISA COM: vb6-visacom/vxa-measdemo
Visual Studio 2003 (VB.NET) / VISA COM: vs2003.net/vxa-measdemo
Digital Demod Measurement
Function
Set up a Digital Demod Measurement, then read Demodulated Bits, Error Vector Time and EVM value.
N9064A VXA Vector Signal Analyzer Programming Samples
49
Program Samples