Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Thermocouple with timed Loop

I am having some trouble getting this program to read. The SubVI works just fine as a stand alone program but with the timed loop it doesn't seem to read anythingSmiley Indifferent. I am new to LabView and we are running version 8.5. Attached you will find the program along with the subVI, could someone please take a look at it and steer me in the right direction for a solution.
Download All
0 Kudos
Message 1 of 4
(3,029 Views)

You've got a major flaw in your program. The subVI has a while loop that is terminated with a front panle Boolean. You cannot terminate that while loop because the front panel is not made visible. The subVI will only return data to the main when it finishes but it cannot finish. This is pretty basic dataflow programming that you are violating.

If your main program has a loop, there is no reason to have a loop in your subVI. Just eliminate the while loop.

p.s. You do not have timed loop in your main. The timed loop is a specific structure. You have a for loop.

Message 2 of 4
(3,026 Views)

Hey Dennis thanks for the info, this is what happens with no prior programming skills. I will work out the info you gave me and post back with my results.

Thanks again,

Eric

0 Kudos
Message 3 of 4
(3,022 Views)

*Update*

Fixed!!

Thanks for you help Dennis this worked great!!

0 Kudos
Message 4 of 4
(3,014 Views)