User`s guide
79
Document 3: Tutorial for LabVIEW Program
This sample LabVIEW program for the Strain and Pressure Laboratory acquires the
voltage input from connected NI DAQ device, calculates and indicates real-time strains
experienced by the strain gauge, then calculates and saves dynamic values of internal pressure of
the can, stress in both circumferential and axial directions of the can to a .csv file in the same
folder where the LabVIEW program is saved, along with the micro strain readings. Around 30
sets of readings are taken each second.
The front panel of the program is shown below. The block diagram is shown on page 2.
This document walks through the steps of constructing this program.
Part 1: Building the Front Panel
Before opening LabVIEW program, make sure that the NI DAQ device is probably
connected to the desktop and turned on.
On Tools Palette, make sure that Automatic Tools Selection is enabled (the box/button on
top of the palette). This setting automatically selects the appropriate pointer tools from the
palette based on the mouse- over object.










