background image

27

Keysight M9383A PXIe Vector Signal Generator

1.  

a.  

var

 function1 = am.Sources.FunctionGenerators.get_Item( 

"Function1"

 );

function1.Frequency = 1e6;

function1.Waveform = KtM9383AnalogModulationShapeSine;

var

 function2 = am.Sources.FunctionGenerators.get_Item( 

"Function2"

 );

function2.Frequency = 10e6;

function2.Waveform = KtM9383AnalogModulationShapeSine;

var

 dualFunction = am.Sources.DualFunction;

var

 tone1 = dualFunction.Generators.get_Item( 

“Function1” );

tone1.Frequency = 2e6;

tone1.Waveform = KtM9383AnalogModulationShapeRamp;

tone1.Ramp = KtM9383AnalogModulationRampNegative;

var

 tone2 = dualFunction.Generators.get_Item( 

“Function2” );

tone1.Frequency = 6e6;

tone1.Waveform = KtM9383AnalogModulationShapeSine;

// Configure the paths

var

 amPath1 = am.AMPaths.get_Item( 

"AM1"

 );

amPath1.Mode = KtM9383AmplitudeModulationModeDeep;

amPath1.Type = 

KtM9383AmplitudeModulationTypeExponential;

amPath1.Depth = 3; 

// dB

amPath1.Source = 

KtM9383AmplitudeModulationSourceFunction1;

var

 amPath2 = am.AMPaths.get_Item( 

"AM2"

 );

amPath2.Mode = KtM9383AmplitudeModulationModeDeep;

amPath2.Type = 

KtM9383AmplitudeModulationTypeExponential;

amPath2.Depth = 3; 

// dB

amPath2.Source = 

KtM9383AmplitudeModulationSourceFunction2;

var

 amOut = am.LFOutput;

amOut.Amplitude = 1.0; 

// Vpp

amOut.DCOffset = 0.25; 

// Volts

amOut.Source = 

KtM9383AmplitudeModulationSourceDualFunction;

// Enable amplitude modulation on all paths

amPath1.Enable = 

true

;

amPath2.Enable = 

true

;

amOut.Enable = 

true

;

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.

Содержание M9383A PXIe

Страница 1: ...Keysight M9383A PXIe Vector Signal Generator Programming Guide...

Страница 2: ...same terms by which the software is customarily provided to the public Accordingly Keysight provides the Software to U S government customers under its standard commercial license which is embodied i...

Страница 3: ...often associated with local AC mains connections Assume all measurement control and data I O connections are for connection to Category I sources unless otherwise marked or described in the user docu...

Страница 4: ...the Canadian Interference Causing Equipment Standard ICES 001 It also identifies the product is an Industrial Scientific and Medical Group 1 Class A product CISPR 11 Clause 4 South Korean Class A EMC...

Страница 5: ...Full Path 19 Step 4 Create Instances of the IVI COM Drivers 20 Step 5 Initialize the Driver Instances 20 Step 5 Initialize the Driver Instances 20 Initialize Options 20 Initialize Parameters 22 Step...

Страница 6: ...Keysight M9383A PXIe Vector Signal Generator 6...

Страница 7: ...code to access the IVI COM driver Overall Process Flow To write and run programs perform the following steps Write source code using Microsoft Visual Studio 2010 or later with NET Visual C running on...

Страница 8: ...IVI Drivers Components Downloads Keysight I O Libraries Suite GPIB USB Instrument Control Products Keysight VEE Pro Technical Support Manuals Downloads Contact Keysight Test Measurement IVI Foundation...

Страница 9: ...9 Keysight M9383A PXIe Vector Signal Generator 1 2 Installing Hardware Software and Licenses Unpack and inspect all hardware Verify the shipment contents...

Страница 10: ...sion 1 3 443 1 or newer Driver software includes all IVI COM IVI C and LabVIEW G Drivers along with Soft Front Panel SFP programs and documentation All of these items may be downloaded from the Keysig...

Страница 11: ...surements conduct a Self Test on each 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 a...

Страница 12: ...their code www ivifoundation org IVI Instrument Classes Defined by the IVI Foundation Currently there are 13 IVI Instrument Classes defined by the IVI Foundation DC Power Supply AC Power Supply DMM F...

Страница 13: ...13 Keysight M9383A PXIe Vector Signal Generator The following table lists the instrument specific hierarchy interfaces for M9393A PXIe VSA...

Страница 14: ...ight click the AgM9393Lib library file in the folder from the References Solution Explorer window Select View in Object Browser IVI Compliant or IVI Class Compliant TheM9383A PXIe VSGis IVI Compliant...

Страница 15: ...Compliant Hierarchy in its IVI Driver Instrument Specific Hierarchy The M9383A PXIe VSG s instrument specific hierarchy has IKtM9383 at the root where KtM9383 is the driver name IKtM9383 is the root i...

Страница 16: ...comply with one of the 13 IVI Instrument Classes Is either an IVI Specific Driver or an IVI Class Driver IVI Class Driver Is an IVI Driver needed only for interchangeability in IVI C environments The...

Страница 17: ...xample IviScope IviDmm Function names One or more words use PascalCasing First word should be a verb IVI COM Naming Conventions Interface naming Class compliant Starts with IIvi I ClassName Example II...

Страница 18: ...at use a Console Application do not show a Graphical User Interface GUI display Launch Visual Studio and create a new Console Application in Visual C by selecting and select a Visual C File New Projec...

Страница 19: ...erences Explorer as Your program looks the same as it did before you added the References but the difference is that the IVI drivers that you added References to are now available for use To allow you...

Страница 20: ...Step 5 Initialize the Driver Instances Step 5 Initialize the Driver Instances Initialize is required when using any IVI driver it establishes a communication link an I O session with an instrument and...

Страница 21: ...of properties InterchangeCheck false Specifies whether the IVI specific driver performs interchangeability checking RangeCheck false Specifies whether the IVI specific driver validates attribute valu...

Страница 22: ...g M9300A Frequency Reference Sharing string VsgResourceName PXI8 0 0 INSTR PXI11 0 0 INSTR PXI12 0 0 INSTR PXI13 0 0 INSTR string VsaResourceName PXI14 0 0 INSTR PXI10 0 0 INSTR PXI9 0 0 INSTR bool Id...

Страница 23: ...have been performed when changes are made to the controls on the soft front panel In this example open the Soft Front Panel for the PXIe VSG and perform the following steps Set the output frequency to...

Страница 24: ...Build your console application and run it to verify it works properly Open the solution file in Visual Studio 2010 SolutionNameThatYouUsed sln Set the appropriate platform target for your project In m...

Страница 25: ...r Signal Generator xml version 1 0 encoding utf 8 configuration startup useLegacyV2RuntimeActivationPolicy true supportedRuntime version v4 0 sku NETFramework Version v4 0 supportedRuntime version v2...

Страница 26: ...se the IKtM9383 IVI interface of the KtM9383 IVI driver Your Modulation Analog Amplitude configuration routine should typically perform the following functions Configure the Function Generator s For a...

Страница 27: ...litudeModulationModeDeep amPath1 Type KtM9383AmplitudeModulationTypeExponential amPath1 Depth 3 dB amPath1 Source KtM9383AmplitudeModulationSourceFunction1 var amPath2 am AMPaths get_Item AM2 amPath2...

Страница 28: ...on1 Waveform KtM9383AnalogModulationShapeSine var function2 fm Sources FunctionGenerators get_Item Function2 function2 Frequency 10e6 function2 Waveform KtM9383AnalogModulationShapeSine var dualFuncti...

Страница 29: ...nce the generator is configured perform the following steps Set the source of the PM path to the function generator Set the Mode to either Deep or normal Set the Type to either Linear or Exponential S...

Страница 30: ...all paths pmPath1 Enable true pmPath2 Enable true pmOut Enable true Adding Noise and IQ Impairments to the RF Output To add noise and IQ impairments to the RF output programmatically use the and IKtM9...

Страница 31: ...t is still valid not expired then the cached result is used Otherwise power search routine will be invoked In Manual mode the user has to explicitly tell the system to perform power search using The r...

Страница 32: ...driver as shown in the following code Define mDriver as actual instrument driver protected KtM9383Class mDriver string counter mDriver Modules Item M9312A GetValue COUNTERS return counter For more inf...

Страница 33: ...software that collects data from and issues commands to peripheral devices The VISA function library is an example of an I O layer that allows application programs and drivers to access peripheral in...

Страница 34: ...e using Plug and Play drivers you will need the VISA I O library The VISA standard was intended to provide a common set of function calls that are similar across physical interfaces In practice VISA l...

Страница 35: ...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 Devel...

Страница 36: ...This information is subject to change without notice Keysight Technologies 2016 Edition 1 0 May 2016 M9383 90014 www keysight com...

Отзывы: