LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

add event in event structure

Hi smm,

In the interest of ensuring that this post doesn't also become over a hundred entries long, I think you should probably take the time to go through some LabVIEW tutorials and exercises.  I'm sure someone on this post knows of some good resources that you could look into.  In general, I would recommend using the discussion groups as a last resort.

Anyway, regarding the fact that your VI starts immediately, you should be able to resolve that by simply removing the "not" node in the top-left while loop.  Unfortunately, I've got a lot to do at the moment, so I won't be able to clarify what I meant by putting the start/stop hardware control management into the event structure.  In any case, it should work the way you have it, and in some ways it may be better.

Good luck, -Rob

0 Kudos
Message 41 of 42
(499 Views)
 
 

smm wrote:
 

Oh thats what I had done previously, but then when you sent that link for loader.zip, it showed this, so I thought this was the correct method.. I can revert to having just the subvi. But can you tell me what problem could arise on doing this as it is?

If you call a vi dynamically, it loads the vi into memory at the event you call it, if you place the same vi as a sub vi, it loads the sub vi when the caller vi is loaded into memory.
 
Here is a better explaination of the same
 
 
0 Kudos
Message 42 of 42
(487 Views)