To Access The Ivi Drivers Without Specifying Or Typing The Full Path; Step 4 - Create Instances Of The Ivi-Com Drivers; Step 5 - Initialize The Driver Instances - Keysight Technologies M9393A Programming Manual

Pxie performance vector signal analyzer
Hide thumbs Also See for M9393A:
Table of Contents

Advertisement

using statement, the complete namespace-qualified name must be used. To allow
your program to access the IVI driver without having to type the full path of each
interface or enum, type the following using statements immediately below the
other using statements; the following example illustrates how to 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:

Step 4 - Create Instances of the IVI-COM Drivers

There are two ways to instantiate (create an instance of) the IVI-COM drivers:
Since the M9393A PXIe VSA and M9381A PXIe VSG are both considered NoClass
modules(because they do not belong to one of the 13 IVI Classes), the COM
Session Factory is not used to create instances of their IVI-COM drivers. So, the
M9393A PXIe VSA and M938xA PXIe VSG IVI-COM drivers use direct instantiation.
Because direct instantiation is used, their IVI-COM drivers may not be
interchangeable with other VSA and VSG modules.
To Create Driver Instances
The

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 it must be called
before the program can do anything with an instrument or work in simulation mode.
The
Initialize Options below). In this example, we prepare the
by defining only a few of the parameters, then we call the
with those parameters.
27
using
Ivi.Driver.Interop;
using
Keysight.AgM938x.Interop;
using
Keysight.AgM9393.Interop;
Direct Instantiation
COM Session Factory
operator is used in C# to create an instance of the driver.
new
IAgM9393 VsaDriver =
IAgM9381 VsgDriver =
method has a number of options that can be defined (see
Initialize()
Keysight M9393A PXIe Performance Vector Signal Analyzer
new
AgM9393();
new
AgM9381();
method
Initialize()
method
Initialize()

Advertisement

Table of Contents
loading

Table of Contents