HP (Hewlett-Packard) Drive Network Card User Manual


 
20
Chapter 2
Initialize the Instrument
You can now write the main constructs for your program.
Below the smart pointer statement, type
dmm->Initialize("GPIB::23", false, true, "simulate=true");
Note
: As soon as you type
->
, Intellisense displays options and helps ensure you
use correct syntax and values.
Configure the Instrument
To set the range to 1.5 volts and resolution to 0.001 volts, type
dmm->Configure(IviDmmFunctionDCVolts, 1.5, 0.001);
Set the Trigger Delay
To set the trigger delay to 0.01 seconds, type
dmm->Trigger->Delay = 0.01;