hello all...
say I have two VIs... on the first one I have a boolian control, and I would like to be able to trigger and event on the 2nd VI whith a change in value of the first VI's boolian.
my aproached was to create a reference of that boolian, then pass it to the 2nd VI, but I am struggling a little bit here.
thanks for any help.
need some help here.
-
mzu2006
- doctor
- Сообщения: 2456
- Зарегистрирован: 16 авг 2008, 02:12
- Награды: 3
- Версия LabVIEW: 7.1 10 11 12
- Откуда: St-Petersburg (RU), Phila, Boston, Washington DC
- Контактная информация:
Re: need some help here.
I would take a second look at your application architecture. I would suggest to create a notifier. When the control of the first one changes, you "post" the notifier. In the second vi you wait for the notification in a while loop.
Правила форума (Forum rules in Russian)
rm -rf /mnt/windows
rm -rf /mnt/windows
-
- beginner
- Сообщения: 14
- Зарегистрирован: 24 мар 2009, 16:33
- Версия LabVIEW: 8.2
- Контактная информация:
Re: need some help here.
hello mzu2006 and thanks for taking the time to give me a hand.
i have never used the notifiers before nor I knew that capability you just mentioned.
if it is not much to ask could you please post two simple VIs where you trigger an event case from one VI to another using the famous notifiers?
on the mean time I will give it a try myself.
regards.
i have never used the notifiers before nor I knew that capability you just mentioned.
if it is not much to ask could you please post two simple VIs where you trigger an event case from one VI to another using the famous notifiers?
on the mean time I will give it a try myself.
regards.
Re: need some help here.
Hello, caluctra! Here is an example of sending and getting notifiers in two separate vi's. The first one creates notifier with boolean data type, and setting it from the signal of boolean control. The second obtains notifier, reads it and sets the led to true or false.
Любая секретарша должна знать, что если вышел из строя блок питания, сгорел транзистор VT54 )
-
- beginner
- Сообщения: 14
- Зарегистрирован: 24 мар 2009, 16:33
- Версия LabVIEW: 8.2
- Контактная информация:
Re: need some help here.
hello stranger, and thanks for the help.
I have the feeling I did not explained my self correctly when I first posted my question.
here I post a picture.
regards.
Pedro E.
I have the feeling I did not explained my self correctly when I first posted my question.
here I post a picture.
regards.
Pedro E.
Re: need some help here.
Hello! sorry for such a long time answer....
Here is an another example of notifier setting and getting, with dynamic control events. So, the notifiers sets the Boolean1, this event is programmatically hadling, and boolean2 starts blinking.
Here is an another example of notifier setting and getting, with dynamic control events. So, the notifiers sets the Boolean1, this event is programmatically hadling, and boolean2 starts blinking.
- Вложения
-
- notifiers.rar
- (20.25 КБ) 288 скачиваний
Любая секретарша должна знать, что если вышел из строя блок питания, сгорел транзистор VT54 )