05-29-2006 11:10 AM
05-29-2006 11:20 AM
05-29-2006 01:34 PM - edited 05-29-2006 01:34 PM
Hi Anonymous,
If you pass a control reference from M to S, then the event-structure in S can detect the changes in M, by registering for the events - see pic for what it looks like in "S":
Cheers!
Message Edited by Dynamik on 05-29-2006 01:36 PM
05-29-2006 01:55 PM - edited 05-29-2006 01:55 PM
Message Edited by Dynamik on 05-29-2006 01:59 PM
Message Edited by Dynamik on 05-29-2006 02:02 PM
05-30-2006 11:10 AM
05-30-2006 11:17 AM
I'm not near a LV system so can't recall exact syntax. But if M opens S dynamically, then M will have a VI refnum that references S. Hook up that VI refnum to a VI server property node, and there's a property known as something like Front Panel-->Controls that will return an array of references to S's front panel controls. You may need to search through them to find the right one(s).
With the right control reference(s), you can write values to the 'Value (signaling)' property to programmatically simulate user interactions.
-Kevin P.
05-30-2006 04:59 PM
@Anonymous wrote:
My question is how I can generate events from M as if the used would do
interactively on S.
Sorry for any confusion, Anonymous - hope this helps!
05-31-2006 06:40 AM
05-31-2006 08:23 PM
Hi Anonymous,
Here's how I create a reference to a reference - but there may be other (easier) ways...