C (Sharp) Api Example Form; C# Api Example Form - Agilent Technologies X Series Startup Manual

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

Advertisement

X-Series Measurement Applications for Modular Instruments Startup Guide
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.

C (Sharp) API Example Form

C# API Example Form

This section covers the C# APIExampleForm provided with the M90XA Software. This example shows how to
create a Windows Forms application to start the M90XA Software, select a specific X-series application,
perform band power measurements with the M90XA, and perform band power measurements with the IVI
driver.
The code for this example is similar to the ApiExample console program described earlier.
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 > ApiExampleForm (64-bit)
.
The program first prompts to open the M9391 or M9393 driver session based on an IVI driver
Name
, and a
saved hardware configuration
Alias
. Click
Open Session
to open the driver session.
50

Advertisement

Table of Contents
loading

This manual is also suitable for:

M90xaM9391aM9393a

Table of Contents