Example programs are available from C:\Program Files (x86)\IVI
Foundation\IVI\Drivers\AgM9393\Examples
Example Program 1- Code Structure
The following example code builds on the previously presented " Tutorial: Creating a
Project with IVI-COM Using C#
instances, set the resource names and various initialization values, initialize the two
driver instances, print various driver properties for each driver instance, check
drivers for errors and report the errors if any occur, and close the drivers.
Example programs may be found by selecting: C:\Program Files (x86)\IVI
Foundation\IVI\Drivers\AgM9393\Examples
35
Choose Project >
ProjectNameThatYouUsed
3.
Rebuild Solution
.
Tip: You can also do the same thing from the Debug menu by
selecting Start Debugging or pressing the
Before you run the LiveSoftFrontPanel C# example program, ensure that the
associated app.config file has the following content for the .NET Runtime
interoperability:
<?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 M9393A PXIe Performance Vector Signal Analyzer
Properties and select
" and demonstrates how to instantiate two driver
Build |
F5
key.