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
Need help?
Do you have a question about the M9260A and is the answer not in the manual?