Keysight Technologies M9383A PXIe Programming Manual

Keysight Technologies M9383A PXIe Programming Manual

Vector signal generator

Advertisement

Quick Links

Keysight M9383A PXIe
Vector Signal Generator
Programming
Guide

Advertisement

Table of Contents
loading

Summary of Contents for Keysight Technologies M9383A PXIe

  • Page 1 Programming Guide Keysight M9383A PXIe Vector Signal Generator...
  • Page 2: Regulatory Compliance

    FAR 27.401 or DFAR 227.7103- this document are furnished under a license 5 (c), as applicable in any technical data. Keysight Technologies Ground Floor and and may be used or copied only in Second Floor, CP-11 Sector-8, IMT accordance with the terms of such license.
  • Page 3 shock hazards and are familiar with the performance and user safety issues. When no conductive part of the circuit may be safety precautions required to avoid the modules are in use and operation within exposed. possible injury. Read and follow all the specified full temperature range is not Do not connect switching cards directly to installation, operation, and maintenance...
  • Page 4 When fuses are used in a product, replace with the same type and rating for continued protection against fire hazard. Australian Communication and Media This symbol indicates the instrument is Authority mark to indicate regulatory Chassis connections must only be used as sensitive to electrostatic discharge (ESD).
  • Page 5: Table Of Contents

    Contents What You Will Learn in this Programming Guide ......7 Overall Process Flow ..........7 Related Websites .
  • Page 6 Keysight M9383A PXIe Vector Signal Generator...
  • Page 7: What You Will Learn In This Programming Guide

    Solutions Projects You can view and access Solutions and Projects using the Solution Explorer window (View > Solution Explorer). Related Websites Keysight Technologies PXI and AXIe Modular Products M9393A PXIe Vector Signal Analyzer Keysight M9383A PXIe Vector Signal Generator...
  • Page 8 Keysight I/O Libraries Suite GPIB, USB, & Instrument Control Products Keysight VEE Pro Technical Support, Manuals, & Downloads Contact Keysight Test & Measurement IVI Foundation - Usage Guides, Specifications, Shared Components Downloads MSDN Online Keysight M9383A PXIe Vector Signal Generator...
  • Page 9: Installing Hardware, Software, And Licenses

    Installing Hardware, Software, and Licenses Unpack and inspect all hardware. Verify the shipment contents. Keysight M9383A PXIe Vector Signal Generator...
  • Page 10 > Download the Instrument Driver http://www.keysight.com/find/ivi - download other installers for Keysight IVI-COM drivers. Install the hardware modules and make cable connections. Verify operation of the modules (or the system that the modules create). Keysight M9383A PXIe Vector Signal Generator...
  • Page 11 PXIe VSA and each PXIe VSG to make sure there are no problems with the modules, cabling, or backplane trigger mapping. Once the software and hardware are installed and Self-Test has been performed, they are ready to be programmatically controlled. Keysight M9383A PXIe Vector Signal Generator...
  • Page 12: Ivi Apis

    Switch Upconverter Downconverter Digitizer Counter/Timer The M9383A PXIe VSGdoes not belong to any of these 13 IVI Instrument Classes and are therefore described as "NoClass" modules. Instrument-Specific Hierarchies To be tailored for M9383A Instrument-Specific Hierarchies for the M9393A Keysight M9383A PXIe Vector Signal Generator...
  • Page 13 The following table lists the instrument-specific hierarchy interfaces for M9393A PXIe VSA: Keysight M9383A PXIe Vector Signal Generator...
  • Page 14: Ivi Compliant Or Ivi Class Compliant

    TheM9383A PXIe VSGis IVI Compliant, but not IVI Class Compliant; it does not belong to one of the 13 IVI Instrument Classes defined by the IVI Foundation. IVI Compliant– means that the IVI driver follows architectural specifications for these categories: Installation Inherent Capabilities Cross Class Capabilities Keysight M9383A PXIe Vector Signal Generator...
  • Page 15: Ivi Driver Hierarchy

    These interfaces are organized into two hierarchies: Class-Compliant Hierarchy and Instrument-Specific Hierarchy – and both include the IIviDriver interfaces. Class-Compliant Hierarchy - Since the M9383A PXIe VSGdoes not belong to one of the 13 IVI Classes, there is no Class-Compliant Hierarchy in its IVI Driver.
  • Page 16: Ivi Driver Types

    Is an IVI Driver needed only for interchangeability in IVI-C environments The IVI Class may be IVI-defined or customer-defined IVI Specific Driver Is an IVI Driver that is written for a particular instrument such as the M9393A PXIe VSA IVI Class-Compliant Specific Driver Keysight M9383A PXIe Vector Signal Generator...
  • Page 17: Naming Conventions Used To Program Ivi Drivers

    Defined values Enumerations and enum values are used to represent discrete values in IVI-COM <ClassName><descriptive words>Enum Example: IviScopeTriggerCouplingEnum Enum values don't end in "Enum" but use the last word to differentiate Examples: IviScopeTriggerCouplingAC and IviScopeTriggerCouplingDC Keysight M9383A PXIe Vector Signal Generator...
  • Page 18: Creating A Project With Ivi-Com Using C-Sharp

    Click on any of the type libraries under the "Component Name" heading and enter the letter "I".(All IVI drivers begin with IVI so this will move down the list of type libraries that begin with "I".) Keysight M9383A PXIe Vector Signal Generator...
  • Page 19: Step 3 - Add Using Statements

    To Access the IVI Drivers Without Specifying or Typing The Full Path Add the following using statements to your program so you don't have to specify the entire path when using the drivers: Keysight M9383A PXIe Vector Signal Generator...
  • Page 20: Step 4 - Create Instances Of The Ivi-Com Drivers

    ResourceName = PXI[bus]::device[::function][:: INSTR] Example : string ResourceName = "PXI13::0::0::INSTR; PXI14::0::0::INSTR;PXI15::0::0::INSTR;PXI16::0::0:: INSTR"; Description : VsgResourceName or VsaResourceName – The driver is typically initialized using a physical resource name descriptor, often a VISA resource descriptor. Keysight M9383A PXIe Vector Signal Generator...
  • Page 21 If these drivers were installed, additional information can be found under "Initializing the IVI-COM Driver" from the following: KtM9383 IVI Driver Reference Start > All Programs > Keysight Instrument Drivers > IVI-COM-C Drivers > KtM9383A uW Source > KtM9383A IVI Driver Help Keysight M9383A PXIe Vector Signal Generator...
  • Page 22: Initialize() Parameters

    // Initialize the drivers VsgDriver.Initialize(VsgResourceName, IdQuery, Reset, VsgOptionString); Console.WriteLine("VSG Driver Initialized"); VsaDriver.Initialize(VsaResourceName, IdQuery, Reset, VsaOptionString); Console.WriteLine("VSA Driver Initialized"); The above example shows how IntelliSense is invoked by simply rolling the cursor over the word "Initialize". Keysight M9383A PXIe Vector Signal Generator...
  • Page 23: Step 6 - Write The Program Steps

    // Waits until the list is finished or the specified time passes bool retval = VsgDriver.List.WaitUntilComplete(); //&hellip;or you could use the following: // Waits 100 ms until output is settled before producing signal bool retval = VsgDriver.RF.WaitUntilSettled(100); Keysight M9383A PXIe Vector Signal Generator...
  • Page 24: Step 7 - Close The Driver

    Start Debugging or pressing the key. Example programs are available from C:\Program Files (x86)\IVI Foundation\IVI\Drivers\KtM9383\Examples Before you run the LiveSoftFrontPanel C# example program, ensure that the associated app.config file has the following content for the .NET Runtime interoperability: Keysight M9383A PXIe Vector Signal Generator...
  • Page 25 <?xml version="1.0" encoding="utf-8" ?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework, Version=v4.0" /> <supportedRuntime version="v2.0.50727/> </startup> </configuration> Keysight M9383A PXIe Vector Signal Generator...
  • Page 26: Programming Guidelines

    Set the Type to either linear or exponential. Set the AM Depth using the units selected via the Type property. Enable modulation on the AM path. The following is a code sample: am = driver.Modulation.Analog.Amplitude; // Configure the function generators Keysight M9383A PXIe Vector Signal Generator...
  • Page 27: Configuring Frequency Modulation

    To configure Frequency Modulation programmatically, use the IKtM9383. IVI interface of the KtM9383 IVI driver. Your Modulation.Analog.Frequency configuration routine should typically perform the following functions: Configure the Function Generator(s) For a given path, configure the function generator to be used. Keysight M9383A PXIe Vector Signal Generator...
  • Page 28 = 1e-6; fmPath1.Bandwidth = KtM9383FrequencyModulationBandwidthNormal; fmPath1.Source = KtM9383AnalogModulationSourceFunction1; fmPath2 = fm.FMPaths.get_Item( “FM2” ); fmPath2.Deviation = 2e-6; fmPath2.Bandwidth = KtM9383FrequencyModulationBandwidthNormal; fmPath2.Source = KtM9383AnalogModulationSourceFunction2; fmOut = fm.LFOutput; fmOut.Amplitude = 1.0; // Vpp fmOut.DCOffset = 0.25; // Volts Keysight M9383A PXIe Vector Signal Generator...
  • Page 29: Configuring Phase Modulation

    = KtM9383AnalogModulationShapeSine; function2 = pm.Sources.FunctionGenerators.get_Item( “Function2” ); function2.Frequency = 10e6; function2.Waveform = KtM9383AnalogModulationShapeSine; dualFunction = pm.Sources.DualFunction; tone1 = dualFunction.Generators.get_Item( “Function1” ); tone1.Frequency = 2e6; tone1.Waveform = KtM9383AnalogModulationShapeRamp; tone1.Ramp = KtM9383AnalogModulationRampNegative; tone2 = dualFunction.Generators.get_Item( “Function2” ); Keysight M9383A PXIe Vector Signal Generator...
  • Page 30: Adding Noise And Iq Impairments To The Rf Output

    To learn how to set this property using the Soft Front Panel, refer to the M9383A SFP Help Configuring ALC To configure ALC programmatically, use the following members of the interface: IKtM9383ALC Attenuation (property) AttenuatorHold (property) Configure (method) Keysight M9383A PXIe Vector Signal Generator...
  • Page 31: Configuring Awgn

    To enable the harmonics filters programmatically, set the property of the interface to true, as HarmonicFiltersEnabled IKtM9383RF shown in the following code: protected IKtM9383RF Interface; get; private set; [TestMethod] public void HarmonicFiltersEnabled() bool inVal = true; Interface.HarmonicFiltersEnabled = inVal; Keysight M9383A PXIe Vector Signal Generator...
  • Page 32: Querying The Mechanical Attenuation Counter

    M9383A IVI Documentation Working with Mechanical Attenuation To manage the external IQ signals programmatically, use the following properties of the interface: IKtM9383RF Attenuation AttenuatorHold For more information about this interface, refer to the M9383A IVI Documentation Keysight M9383A PXIe Vector Signal Generator...
  • Page 33: Glossary

    It is this capability that allows T&M instruments and their COM- based IVI-Component drivers to be interchanged. Keysight M9383A PXIe Vector Signal Generator...
  • Page 34 VISA, but in terms of low-level I/O communication capabilities, VISA-COM is a subset of VISA. Agilent VISA- COM is used by its IVI-Component drivers and requires that Agilent VISA also be installed. Keysight M9383A PXIe Vector Signal Generator...
  • Page 35: References

    Understanding Drivers and Direct I/O, Application Note 1465-3 (Keysight Part Number: 5989-0110EN) Digital Baseband Tuning Technique Speeds Up Testing, by Bill Anklam, Victor Grothen and Doug Olney, Keysight Technologies, Santa Rosa, CA, April 15, 2013, Microwave Journal Accelerate Development of Next Generation 802.11ac Wireless LAN...
  • Page 36 This information is subject to change without notice. © Keysight Technologies 2016 Edition 1.0, May, 2016 M9383-90014 www.keysight.com...

Table of Contents