LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass a reference of Obtain Notifier to another VI.

Solved!
Go to solution
 
0 Kudos
Message 1 of 11
(5,529 Views)
Solution
Accepted by topic author Metachnet
 
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 2 of 11
(5,520 Views)
?
Message 3 of 11
(5,486 Views)
Is it my browser window not supporting to see the text and (or) images in this particular post? Smiley Wink
0 Kudos
Message 4 of 11
(5,472 Views)

Thank you all for the help, however me and some other members are not able to see any of your responses.

Maybe it is my browser. 

 

Thanks,

0 Kudos
Message 5 of 11
(5,445 Views)

Some of us can't read your initial question, however, I appreciate the kudo and Accepted Solution!

 

You can pass the reference through the control panels the same way you'd send any data to a SubVI.  Does this help?

 

Jim

Message Edited by jcarmody on 12-16-2008 09:07 AM
Message Edited by jcarmody on 12-16-2008 09:08 AM
Message Edited by jcarmody on 12-16-2008 09:08 AM
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 6 of 11
(5,440 Views)

Thank you Jim

 

I understand the method.

Can you tel me what type of reference should I use.

 

Occurrence ref Num

Control ref Num 

VI ref Num Etc...

 

There is no specific reference for Notifier.

 

Appreciate your help,

 

Nitzan Alexander

 

0 Kudos
Message 7 of 11
(5,415 Views)
Right-click on any reference wire (for example, the output of Obtain Notifier) and choose "Create Control."  Then you can copy that control to your subVI's front panel.  You can reuse that reference to a notifier anywhere, and change the type of data carried by that notifier reference by dragging another data type (a numeric, a cluster, etc) into the control reference on the front panel.
Message 8 of 11
(5,411 Views)

One way to find out what kind of reference to use is to cheat a bit;

  1. Create a control
  2. Create a reference to that control
  3. Create a control from that reference
  4. Follow the clicks to the VI Server Class

That's what I did to get this:

 

PS - that's a Boeing 787.

Message Edited by jcarmody on 12-16-2008 12:48 PM
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 9 of 11
(5,409 Views)
Thank u all for the help. I was able successfully sending a Notifier reference by passing it as a parameter to a SUB VI, and then use it in a Sub VI for the Wait on notification function. ( it Works). However, the method of copying the Notifier reference from the sending VI, and pasting the Notify reference to a receiving VI did not work. (It looks that the reference is not valid).

I may be doing something wrong?

 

Thanks,  Nitzan Alexander

 

0 Kudos
Message 10 of 11
(5,378 Views)