12-27-2016 04:04 PM
Hi,
I am extremely new to labview and struggling with this program. I am trying to take a thermistor resistance reading at one point and then take the average of the reading for 2 mins afterward and compare the two values to see if they are within a certain criterion. My problem is right now that my current program seems to be only taking the original reading for both of them and I am not sure what is wrong. I have tried moving various parts of the program in and out of the timed structure but with little to no avial. Any suggestion?
12-27-2016 04:19 PM
You don't seem to understand the dataflow principle of LabVIEW.
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
You take a thermistor reading then pass that into two timed while loops that do the same thing over and over acting on the value that comes into the loop.
Why are you using a timed while loop at all, then using wait statements inside the loops? And why do you have a 120,000 msec wait in the one loop. It will take 1200 seconds, or 20 minutes to iterate once. And since it only stops when i=1, that loop will run twice for a total of 40 minutes.
If you want to take repeated measurements, then that needs to be in the loop.
12-28-2016 12:45 AM
Please ensure your attached VI is backward compatible for labview version 14