LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can the settings be changed while the program is running?

My program requires a constant tracking of voltage output and should the voltage doesn't fall within the range, the current input must be changed accordingly. The current input can be changed manually but the program has to be still running. Can LabView support this? I've tried but it'll require me to stop the program from running before changes can be made. Is there any way to solve this? Thanks!!
0 Kudos
Message 1 of 3
(2,780 Views)
Sure, LabVIEW can do that. Your question is a bit vague, but here is my suggestion. Do a comparision of the actual voltage ouput and the voltage threshold. Connect the compare function to a case statement. False -> no action. True -> Adjust voltage. If you need a window comparision, use the 'In Range and coerce' function and use a nested case structure or use multiple (3) cases (Above limit, below limit, in range.)
>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 2 of 3
(2,780 Views)
> My program requires a constant tracking of voltage output and should
> the voltage doesn't fall within the range, the current input must be
> changed accordingly. The current input can be changed manually but
> the program has to be still running. Can LabView support this? I've
> tried but it'll require me to stop the program from running before
> changes can be made. Is there any way to solve this? Thanks!!
>

This is done all the time. One issue could be that your inputs, your
controls are outside of whatever loop you have on your diagram. When
outside the loop, they are read once, then the loop runs until it
completes. Moving the terminal inside the loop means that the loop will
see any changes that take place.

If you must read the value multipl
e places, you can also use local
variables, but don't get carried away with them, and try to use them
only for the user interface.

If this isn't the problem, then you will probably need to look at how
your I/O is programmed, and you need to give more details before anyone
can help with that.

Greg McKaskle
0 Kudos
Message 3 of 3
(2,780 Views)