10-27-2008 04:00 PM
I need activate an event structure in a VI with an value change event with an control of another VI.The code is included in the images you can see in this message and the stop variable is the control who must activate the event structure from another VI.
.
The code is from another discurssion forums, and is made by Randall Pursley (rpursley8).
See the link: http://forums.ni.com/ni/board/message?board.id=250&thread.id=43960
Solved! Go to Solution.
10-28-2008 01:17 AM
Hi kiftren,
You can use an event structure anywhere to detect a control change - just pass the control's reference to the VI detecting the change, and register for events dynamically (see example.)
Cheers.
10-28-2008 10:42 AM - edited 10-28-2008 10:44 AM
Hi tbd,
Sorry, I can´t open your archives because I use LabVIEW 8.2 and you use LabVIEW 8.5. Can you give me the picture of the code in your screen in a .jpeg archive?
Thank your for your help tbd.
10-28-2008 11:15 AM
Ton's Nugget on Dynamic Event Registration may be helpful. Take a look at that Nugget and let us know where you run into trouble.
Ben
10-28-2008 01:40 PM
10-29-2008 06:27 AM
kiftren wrote:Hi tbd,
Sorry, I can´t open your archives because I use LabVIEW 8.2 and you use LabVIEW 8.5. Can you give me the picture of the code in your screen in a .jpeg archive?
Thank your for your help tbd.
Mensaje editado por kiftrenHi, sorry, here are the VIs back-saved to LV8.2
Hope it helps!.
10-29-2008 11:31 AM
Thank you tbd and rpursley8 for ours solutions.
Those solutions are clever and simple. I never see a refnum before, but refnum can made more simple the program that global variables.
It´s function correctly.