49Program SamplesN9064A VXA Vector Signal Analyzer Programming SamplesN9064A VXA Vector Signal Analyzer Programming SamplesTwo program samples are available for N9064A VXA Vector Signal Analyzer Mode:• “Vector Analysis Measurement” on page 49• “Digital Demod Measurement” on page 49Each 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 COMThe VEE samples consist of a single file each, whereas the Visual Basic 6 and Visual Studio 2003 samples consist ofproject file sets in specified subfolders.NOTE These samples have all been tested and validated as functional in N9064A VXA Vector SignalAnalyzer Mode.Vector Analysis MeasurementDigital Demod MeasurementFunction 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 Mode4. Sets Vector Analysis Measurement5. Configures the measurement6. Initiates the measurement7. 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 screen9. Closes the FormattedIO488 interface (except in VEE example)File or ProjectFolder nameVEE: vxa-measdemo.veeVisual Basic 6 / VISA COM: vb6-visacom/vxa-measdemoVisual Studio 2003 (VB.NET) / VISA COM: vs2003.net/vxa-measdemoFunction Set up a Digital Demod Measurement, then read Demodulated Bits, Error Vector Time and EVM value.