LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to update the Numeric Control at the press of a button

Solved!
Go to solution

 


@bobholmgren wrote:

What I mean is I want the program to do literally nothing (except get data and graph it every 3 seconds using while loop and time delay) unless an input changes. Then I want it to run through once.


If you spin the loop anyway, don't worry about executing this part of the code with every iteration. it is insignificant in the grand scheme of things.

 

Message 21 of 28
(1,280 Views)

I'm unsure how to have my program run essentially continuously with the inputs as "interrupts" to break it out of the loop and run the rest of the code, then re-enter the loop again.

 

I'm not used to labview (Only been using it a couple days)

0 Kudos
Message 22 of 28
(1,273 Views)

You don't need to break out of the loop. Place all the controls in the main loop and they will get polled once per iteration.

Message 23 of 28
(1,254 Views)

Ok, I just did a while loop with everything in it, and a .2 second delay (data will only need to be recorded once every 30 seconds or so). 

 

Now it loops and rechecks everything once each time that the time delay is over.

 

Thank you

0 Kudos
Message 24 of 28
(1,243 Views)

Give Altenbach a Kudo and mark his solution as the accepted solution.

- tbob

Inventor of the WORM Global
0 Kudos
Message 25 of 28
(1,239 Views)

 


@tbob wrote:

Give Altenbach a Kudo and mark his solution as the accepted solution.


 

Which solution should I mark? haha.

My question evolved and changed so many times.

0 Kudos
Message 26 of 28
(1,237 Views)

@bobholmgren wrote:

 

 

Which solution should I mark? haha.

My question evolved and changed so many times.


Mark the one that solved your original question.

- tbob

Inventor of the WORM Global
Message 27 of 28
(1,231 Views)

@altenbach wrote:

 

 

Now, to solve your programming issue, you would:

 


My excuse is that I misinterpreted the full extent of the question.
0 Kudos
Message 28 of 28
(1,194 Views)