LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Boolean

When you post a VI, it does not include any subVIs that are in your main VI. Each VI is a separate file. You posted SaveDatawithDelay_1 and on the block diagram, there is a subVI called SaveDatawithDelay. It is this subVI that needs to be posted. The easiest way to post a main VI and it's entire hierarchy is to go to Save with Options and select Development Distribution. This will create an llb that you should post.
 
0 Kudos
Message 11 of 16
(981 Views)
Here is save data with delay function.
0 Kudos
Message 12 of 16
(977 Views)
see the attached .llb.
 
Thanks
0 Kudos
Message 13 of 16
(974 Views)
0 Kudos
Message 14 of 16
(973 Views)

I almost included in my last post that I would have guessed you had put a while loop in the subVI with a front panel stop button.

When you do something like that and don't make the front panel of the subVI visible, then there is no way to click the stop button and the subVI will just run forever until you click the abort button. Also, basic programming says that a function will not return a value until the function finishes. Since the subVI never stops, you never get a value back from it. The simplest thing for you to do right now is to put the small amount of code of the subVI in your main VI. The main VI you created doesn't do anything anyway. Your main VI should have the while loop.

0 Kudos
Message 15 of 16
(971 Views)

Thanks for the valuable feedback. I will try this on monday, and let you know the status.

 

Thanks

Jey

0 Kudos
Message 16 of 16
(967 Views)