LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

updating value outside while loop

Solved!
Go to solution

Hi,

I have a Labview Vi attached below. I want to change the exposure time without having to stop the program. The Exposure time right now is outside the While Loop. I am hoping to get some help on how to fix this.

0 Kudos
Message 1 of 5
(1,721 Views)
Solution
Accepted by topic author physikstar

Place it inside the loop and create a proper state machine that reinits the device whenever the exposure time changes. A case structure would be useful. Also shift registers.

 

Look at shipping examples and design templates.

0 Kudos
Message 2 of 5
(1,706 Views)

Can you provide some examples for this  : create a proper state machine that reinits the device

0 Kudos
Message 3 of 5
(1,665 Views)
Solution
Accepted by topic author physikstar

Help -> Find example -> State machine fundamentals

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 5
(1,642 Views)

Thank you guys..I was able to make it work using state machine fundamentals

Message 5 of 5
(1,622 Views)