Michael,

That's the ticket!  It makes perfect sense - get a reference to the panel of
the target VI, get an array of references to the controls on that panel, get
the label of each control, find the reference to the desired control by
searching for the matching label, then you have a reference to the target
control and can create a property node that uses the value(signaling)
property.  It makes sense, but it seems far from obvious - however did you
figure out this chain of calls would ultimately result in the control
reference you were seeking?  I never cease to be amazed by what the
developers on this list can do! 

Thanks again for the help!

Mark



-----Original Message-----
From: Michael Aivaliotis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 26, 2004 11:00 AM
To: 'Mark Smith'
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Events to Push Data into VI?

> What I am trying to accomplish is to 1) launch a vi 
> dynamically that uses event structures for interaction with 
> the user interface, 2) sometimes update the display on this 
> dynamically launched vi by using another vi (opens a VI 
> reference and invokes the set control method).  It seems I 
> could use some sort of event generated by the vi that sets 
> the control value to fire the event handler in the running vi 
> and thereby update the display, but I have had no luck.  I 
> have tried setting the value(signaling) property of a 
> registered control, but this doesn't work because the waiting 
> event blocks the value from the dynamically updated control 
> from ever updating the
> value(signaling) property of the registered control.  The 
> best I have come up with is periodically timing out the event 
> structure (which forces the
> value(signaling) property to update which generates an event 
> for the registered control) but this is just a backhanded way 
> of polling for a changed value and violates the idea of an 
> event driven program.  

Mark, Check ou this method of using value changed signaling event. Let
me know if this is what you are doing:

http://forums.lavausergroup.org/index.php?showtopic=139&view=findpost&p=
307

If you read through the post you will find other methods.

Thank You
Michael Aivaliotis



Reply via email to