Virtual instruments, Library vis, Vi descriptions – Crystal XP2i-DP Digital Differential Pressure Gauge User Manual

Page 4

Advertising
background image

Virtual Instruments

4

XP2i LabVIEW Drivers Manual

Virtual Instruments

lIbrary VIs

The XP2i LabVIEW library contains all the VIs that control and collect data from the instrument. Each of the library’s VIs is documented in the following section.
Most of the VIs have VISA handles or error clusters as inputs and outputs, and more information on these elements can be found in the LabVIEW documenta-
tion. Inputs or outputs specific to this library are documented below.

In addition, there are two VIs that are not considered part of the library, but are provided as example VIs that use the library. These VIs are documented in the

sample VIs section

.

Note:

Many of the functions return both the pressure as indicated by the XP2i, along with the units of that pressure, as well as the pressure converted to PSI.

In the case where the XP2i’s units are inches of water (inH

2

O or "H

2

O), the conversion assumes a water reference of 68 °F. For other water temperatures,

use

XP2i Convert to PSI.vi and pass in the correct water reference.

The VIs

XP2i Query.vi, XP2i Query, 2-line.vi, XP2i Flush.vi, and XP2i Command.vi are internal functions used by the library and test panel, and are not docu-

mented here. However, their block diagrams are included if you wish to browse through them.

VI descrIPtIons

XP2i clear Peaks command.vi

The clear peaks command will clear the high and low peaks, effectively resetting them to the current value. This VI has the same effect as pressing the

(

zero

)

button while viewing a peak value.

X

Inputs and outputs

Only standard VISA handles and error clusters.

Advertising
This manual is related to the following products: