06-01-2016 08:46 AM
Hello,
at the moment I try to control a lamp and the corresponding reference VI.
I have a VI (Lampe_an_aus.vi), in which I use an event structure to control the lamp and the VI to be stopped itself. This VI works as it should.
Now I want to control the lamp from another master VI (Lampe_an_aus_Ref.vi) using referencing and I don't want to use the event structure in the controlling master VI. I want to control the lamp in the master VI itself and that the master VI should be stopped when I press the STOPP button.
Can someone tell me, what I do wrong?
Thanks in advance.
Joachim
06-01-2016 10:39 AM
Hello Joachim_Kranzen,
There are several problems in you method. The main one is that the Lampe_an_aus.vi only stop when an event "button stop is pushed" on. It will only occur if you press on the stop button of the Lampe_an_aus.vi 20 KB FP.
So when you connected your button stop as input and you change the input value of Lampe_an_aus.vi it's not an event.
You could user event!