X-Series Measurement Applications for Modular Instruments Startup Guide
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>
If you are modifying an existing solution you may need to add the startup setting to the configuration
section of the existing solution's app.config file.
Running the Program
In addition to source code, a compiled exe is installed. To run it, click Start > All Programs > Agilent > M90XA
X-Series Applications 2.0 > Examples > ApiExampleFormWith89600 (64-bit).
The following is a screen capture of the main form.
58