LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

resetting elapsed timer

Solved!
Go to solution

Hello everyone,

 

I am working on a temperature application. I am taking thermocouple reading from a FP-TC-120 device.

I want the thermocouple reading to stay within 1 degree accuracy range, say for 10 minutes. To do that I have written the attached VI. (Required temperature value and time target are inputs to the VI.) The problem is I want the elapsed time to be reset when the temperature value falls out of range. In the application I have written it reset no matter what the thermocouple reading is. Does the problem have something to do with the case structure? (I tried to use while loop but I had trouble with getting the thermocouple reading inside of the loop)

 

Thanks 

 

Deniz 

Download All
0 Kudos
Message 1 of 2
(2,830 Views)
Solution
Accepted by topic author deniz

The way you have it, the timer resets whenever the front panel boolean is true. You have absolutely no relationship to the thermocouple reading being in range or not. A simple fix is shown below.

 

Message Edited by Dennis Knutson on 04-29-2009 10:31 AM
0 Kudos
Message 2 of 2
(2,821 Views)