ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(2,029 Views)
Solution
Accepted by 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
(2,014 Views)

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

0 Kudos
Message 3 of 5
(1,973 Views)
Solution
Accepted by 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,950 Views)

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

Message 5 of 5
(1,930 Views)