LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

timed loop output

hello again to all,

I HAVE A QUESTION: I have a timed loop that has to verify whether any of the inputs go high and if so, output a fail to the front panel. This has been done, but, i have an issue for i am trying to log the failure to a text file, i know how to log to a text file, but, cannot seem to output a failure for this timed loop. How can this be done? I've tried creating a local and global variable with no success, AYUDA PLEASE!

ATTACHED IS MY VI .

THANKS IN ADVANCE!
FRED-FRED
0 Kudos
Message 1 of 2
(2,066 Views)
First of all, why are you using local variables? Why don't you just put the controls and indicators at the locations where you are using them? There is absolutely no need for the locals in this case.

As far as your output not working it's because your loop never ends. Outputs from a loop will only end when the loop ends (the conditional terminal goes True for your loop). What you should do is either put the indicator inside the loop or wire a condition to the conditional terminal which stops the loop.
Message 2 of 2
(2,063 Views)