Deploying A C/C++ Program - Agilent Technologies X Series Startup Manual

Measurement applications for modular instruments
Hide thumbs Also See for X Series:
Table of Contents

Advertisement

In addition to the above, the M90XA Software UI appears.
Note
In case you have not specified any command line parameters, the program will use simulated
hardware.
To run the program with M9391A hardware:
Use the M9391 SFP to select PXI modules.
1.
Save the configuration with a name such as, MyVSA or M9391.
2.
Note
Provide this name as a command line parameter.

Deploying a C/C++ Program

Although this is a native C/C++ program, running the executable requires M90XA and M9391 drivers to be
installed, which require version 4 of the .NET Common Language Runtime. The app.config file (as displayed
below) has a startup configuration to allow interoperability with older components that were developed for
Version 2 of the CLR.
If you are starting from scratch and an app.config file does not exist in your solution, right click on the
startup project name and select add new item. From the list of Visual C# items, select "Application
Configuration File." Copy the following text into the App.config file:
<?xml version="1.0"?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"
/>
</startup>
</configuration>
49
X-Series Measurement Applications for Modular Instruments Startup Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

M90xaM9391aM9393a

Table of Contents