LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

a while loop in another while loop with event structure

hello

      I have a while loop having another while loop with a event structure outside. I need a continous display of an image and i want to capture a desired image in between live capture. Here Iam getting struck, code is not getting executed,not coming out of the while loop. Can anyone please help me getting sorted out this problem.

                                  Thanks in advance

0 Kudos
Message 1 of 6
(2,600 Views)

Hi,

 

Mind posting your code??

 

Regards,


Nitzz

0 Kudos
Message 2 of 6
(2,597 Views)

If you can post the vi it'd be easier to analyze. 🙂

 

There are several typical problems i can gather from your description:

- An event structure only runs each time an event is fired (unless there's a timeout in which case the timeout event happens) - could this be the issue?

- In order to update an indicator you'll need to wire the indicator where/when it's supposed to update (inside the inner while loop?)

- How's the image supposed to capture? As another event or the timeout?

 

/Y

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 6
(2,594 Views)

Thank You for the reply. Iam attaching my vi.

waiting for the reply

0 Kudos
Message 4 of 6
(2,588 Views)
Your timeout will never happen and your picture update only happens when you press the Live Display. (see my first point in previous post) /Y
G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 5 of 6
(2,573 Views)

hi,

   There is an error occuring in live display loop, error occuring is 5010 or 5014 or 5019. Snapshot is getting captured but live display is not taking place. 

Please help me.

                       Thank you in advance

0 Kudos
Message 6 of 6
(2,570 Views)