HP Drive manual Introduction

Models: Drive

1 114
Download 114 pages 61.75 Kb
Page 15
Image 15

Access an instrument property – We set the trigger delay to 0.01 seconds.

Set the reading timeout – We set the reading timeout to 1000 milliseconds (1 second).

Take a reading

Close the instrument – This step is required when using any IVI driver, unless the ADE explicitly does not require it. We close the session to free resources.

Important! Close may be the most commonly missed step when using an IVI driver. Failing to do this could mean that system resources are not freed up and your program may behave unexpectedly on subsequent executions.

Check the driver for any errors.

Display the reading.

Note: Examples that use a console application do not show the display.

Now that you understand the logic behind IVI drivers, let’s see how to get started.

Introduction 15

Page 15
Image 15
HP Drive manual Introduction