LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Invoke Node-Value Set doesn't cause event in second controled vi

Solved!
Go to solution
Don't have 9 installed yet...8.6?
0 Kudos
Message 11 of 18
(1,012 Views)
 
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Download All
0 Kudos
Message 12 of 18
(1,011 Views)

Yep...that is exactly it.  Thanks.

 

I put the boolean in an event and wrapped it in a loop...just to keep it running...and it works great.

 

Thanks again.

Download All
0 Kudos
Message 13 of 18
(1,001 Views)

Ben,

 

I notice that you use the array index to pull the reference number for your boolean control from the remote .vi.   It happened to be the first and only one in it, so that works great.  Is there some way to get the names of the controls and select from that list rather than by refenerce number?

0 Kudos
Message 14 of 18
(993 Views)

Hummer1 wrote:

Ben,

 

I notice that you use the array index to pull the reference number for your boolean control from the remote .vi.   It happened to be the first and only one in it, so that works great.  Is there some way to get the names of the controls and select from that list rather than by refenerce number?


 

See my Nugget on using Control References for what I have written on this topic previously. I use the label to find the controls in an undefined cluster but the ideas are similar.

 

 

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 15 of 18
(983 Views)

Here is an exact example of what I was trying to do.  Thanks for all the help to get this going.  It allows you to start up a vi, find the list of all its controls, match the control references to the label text of each control and thus press the button you want on the other vi.  I realize there are lots of holes...for example, if the slave vi shuts down and is restarted again, the list of control numbers and label texts may no longer match...(through an error and go figure out the list again...)

 

But it is simple ... and it seems to work...

 

Thanks again for all your help.

Download All
0 Kudos
Message 16 of 18
(946 Views)

Thank you very much for following through with an example.

 

Smiley Happy 

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 17 of 18
(944 Views)

I can't seem to stop.

I have made sub vi's out of the functions necessary to start a vi remotely...and to change a value (with signaling).

 

Please comment and hope you find them useful.

0 Kudos
Message 18 of 18
(919 Views)