LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fetching VI - How to STOP the VI?

Dear Thomas,
 
Sorry for my delayed reply. Thank you very much for your reply. I have never used yet this function. My understanding is that in LabVIEW, the flow of execution is from left to right and up to down. So, anything on the left starts first. If I have a case on the First frame, Second frame will not execute until the first frame is finished, right?  Smiley SadI am just thinking how can I use this function for my application....
 
Thanks.
0 Kudos
Message 11 of 15
(906 Views)
Hi Bong
 
Actually the flow of execution is not fixed to be from top left to bottom right - this is just a convention, LV developers stick to and it just makes it more clearly. Just an example - if you place a control's terminal in the bottom right area of the block diagram and an indicator's terminal in the top left area, the data will flow from bottom right to top left. Actually it works, but this definitely should be avoided.
 
And yes, you're right. In a sequence structure the n-th frame will be executed, after frame n-1 finished execution.
 
I often use this structure for initialisation when I start a program. For me that's quite good, because I can separate different initialisation tasks from each other.
 
Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 12 of 15
(903 Views)

Dear Mr Thomas,

Thank you very much.

best regards,

0 Kudos
Message 13 of 15
(881 Views)

Hi Thomas,

How are you? I would like to get back on this Fetching VI. I have added some user buttons to make this VI very easy to use like; Reset, Back Shift. I have also added the dialog box that when the Stop button is pushed, a dialog box will appear first for confirmation. I created two graphs with separate XY array with different purpose.

My problem is if i will push the stop it will not stop at once. I will show the dialog box but i will not stop the VI since the other producer loop is still active. How can I make the two producer loop to stop simultaneously so the VI will stop at once.

I would appreciate your kind assistance.

kind regrds,

bong

0 Kudos
Message 14 of 15
(859 Views)
Hi,
 
Kindly ignore my previous inquiry. I was able to find an alternative solution. I patiently worked on one (1) Fetching VI so that I can Fetch data for two different purpose. Doing this I was able to fix my problem about the Stop Button too.
I just want to share the solution I made. Any comments I would really appreciate.
 
kind regards,
bong
0 Kudos
Message 15 of 15
(836 Views)