Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop an event strucure of a subvi from main vi

Hello;

 

sorry for my english

 

I have to stop a subvi from my main vi, the subvi contains a while loop and an event structure so I need to stop this loop while directly from my main vi I have tried global variable but it did not work

 

any help please or example !!!   

0 Kudos
Message 1 of 2
(5,520 Views)

Generally, you don't want an event structure in a subVI.  There might be something wrong with your architecture.

 

But as a work around, you need to create a User Event and register it with the event structure.  You can then send the user event from your main VI and the event structure in the subVI can then react to it.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(5,510 Views)