A
LabView Thermometer
-
Start LabView.
-
Create the following
-
A "Timed While Loop"
-
The vi should allow the
user to input the time interval between measurements.
-
Add a temperature measurement
vi inside the loop. That is a special function that can be found
at Public-Labs-LabVIEW-Hydra,
and you can put it on your block diagram by using the "Select a vi" took
at the lower left of the "All Functions" menu available from the Block
Diagram. The vi that you want is called "1Temp.vi".
That temperature measurement function has the following characteristics.
-
It takes a GPIB error
signal as an input.
-
It outputs a string that
you can display using a string indicator placed on the Front Panel.
-
Add a a "ResetHydra.vi"
from the same file folder.
-
Keep the reset on the
outside of the while loop.
-
Wire the ResetHydra.vi
from the outside of the loop to the 1Temp.vi inside the loop. The
wire will be a pink/purple wire that is very wide. It carries error
information, and needs to be used to tell the measurement vi that no GPIB
error has occurred.
-
When you do that wiring,
you will get a "tunnell" through the loop wall.
-
The Hydra should be connected
to the computer and set to an address of 3, and, most importantly, it should
be turned on.
-
Check the operation of
the vi.
-
Run the vi using a one
second time interval. Check the timing and observe the results on
the front panel. Adjust timing if necessary.
-
You need a thermocouple
attached to Channel 1 of the Hydra in order to make this work.
-
You should run the vi
and heat the thermocouple with your body heat, and the indicated temperature
should increase when heated, and decrease when released to the air.
-
Next, add a "thermometer"
indicator to the front panel.
-
Determine if you can wire
the string output to the thermometer. Note the error message that
you get.
At this point, we need to talk more in class. There are some things
going on here that we need to work through. Save your file because
you will need it again next week. There is no formal report for this
portion of the lab, but you will need to bring questions to class.