Call The Initialize() Method With The Set Parameters - Keysight M9260A Programming Manual

Pxie audio analyzer
Table of Contents

Advertisement

2
Tutorial: Create a Project with IVI-COM Using Visual C#
string resourceDesc = "PXI41::0::0::INSTR";
string initOptions = "QueryInstrStatus=true, Simulate=false,
DriverSetup= Model=, Trace=false";
bool idquery = true;
bool reset = true;

Call the Initialize() method with the set parameters

// Initialize the driver
driver.Initialize(resourceDesc, idquery, reset, initOptions);
Console.WriteLine("Driver Initialized\n");
The example below shows how IntelliSense is invoked by simply rolling the cursor
over the word "Initialize".
One of the key advantages of using C# in the Microsoft Visual Studio Integrated
NOTE
Development Environment (IDE) is IntelliSense. IntelliSense is a form of
auto-completion for variable names and functions and is a convenient way to
access parameter lists and ensure correct syntax. This feature also enhances
software development by reducing the amount of keyboard input required.
36
Keysight M9260A Programming Guide

Advertisement

Table of Contents
loading

Table of Contents