LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Referenz

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

Download All
0 Kudos
Message 1 of 2
(2,647 Views)

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!

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
0 Kudos
Message 2 of 2
(2,634 Views)