SensorDAQ User's Manual
17
Appendix A - Sample VIs
Sample experiments are provided as starting points for writing custom VIs. These
provide the building blocks for data collection using Vernier sensors, custom sensors
and devices, and for experimenting with feedback.
SensorDAQ Analog Channel
AnalogInEx01_Ch1.vi
Vernier auto-ID sensors have chips with calibration information loaded on them.
When this VI is run (by clicking the white arrow) LabVIEW will detect all auto-ID
capable sensors and calls up appropriate units and data-collection parameters.
AnalogInEx02_AdjustRate.vi
Simple data-collection VI using a Vernier sensor. The user can adjust the sample rate
and total number of samples to be read.
AnalogInEx03_FastRate.vi
Particular sensor and experiments benefit from faster sampling rates (microphone
and oscilloscope for example). The Repeat feature allows data to be continuously
read.
AnalogInEx04_Triggering.vi
When triggering is used, the VI waits for the user-defined condition to be met prior
to data collection.
AnalogInEx05_ModifyWithPopups.vi
This example allows you to select the sensor's units and configure the data-collection
parameters with the use of dialog popups.
AnalogInEx06_Ch1WithAI0Terminal.vi
SensorDAQ screw terminal lines AI0 and AI1 are analog-in lines. This example uses
the analog-in lines for reading voltage.
AnalogInEx07_CalibrationFromFile.vi
Vernier auto-ID sensors have chips with calibration information loaded on them.
This example VI allows you to manually enter calibration values for your sensor or
select calibration values on file. In most cases, the values stored in this file will be
different than the values stored on auto-ID sensors.
AnalogInEx08_CustomProbe.vi
This example allows you to configure non-auto-ID sensors, typically custom sensors.
The voltage, calibration, and units are manually entered.
AnalogInEx09_Averaging.vi
This example demonstrates the noise reduction of a signal with the use of averaging.
AnalogInEx10_Customize.vi
This example demonstrates a few of the unlimited possibilities of using LabVIEW