Thanks for the response.

It turned out that my problem was having a "commented out" event structure
in a case structure with a constant wired to it, since I got the event code
working first in the top level and then tried to put it into a sub VI. Even
though the event structure was never executed, it still swallowed all the
events and prevented them from being reliably received at the lower level.

--
Dr. Craig Graham, Software Engineer
Advanced Analysis and Integration Limited, UK. http://www.aail.co.uk/

----- Original Message ----- 
From: "Smith, Mark E" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 09, 2004 2:11 PM
Subject: Re: Event structures in sub VIs


> Craig,
>
> I had this same question (at least I think it's similar) recently and
> Michael Aviliotis pointed me to
>
>
http://forums.lavausergroup.org/index.php?s=15b7377c36c3b06954234c1dbd310dbc
> &showtopic=139&st=0&#entry317
>
> for an example.
>
> From his help, I created a general purpose remote update vi that you can
use
> from a calling vi to update a control and fire the event structure in the
> target vi - assuming that the target control is registered in the target
> vi's event structure to fire on value changed.  BTW, this is only good for
> LV7 - it uses the control value(signaling) property.  It may or may not
> solve your problem directly, but it may be a start.
>
> I have attached the vi in the private reply
>
> Mark E. Smith
> Senior Member of Technical Staff
> Sandia National Laboratories
> 505.284.5293 (v)
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> www.highergroundbluegrass.com
>
>
>
>
>
> __________________________________________________________________
>
>
> Subject: Event structures in sub VIs
> From: "Craig Graham" <[EMAIL PROTECTED]>
> Date: Thu, 4 Mar 2004 13:13:49 -0000
>
> I've done a bit of code that lets the user drag a frameless VI about the
> screen by clicking+dragging on the inert parts of the panel. It's a fairly
> big and self contained while loop that would be better off in a sub-VI,
but
> I can't figure out how to register the event structure in the sub-VI for
> events from the calling VI. I've tried a few things that look sensible but
> the events never get fired.
>
> Has anyone managed this?
>
> --
> Dr. Craig Graham, Software Engineer
> Advanced Analysis and Integration Limited, UK. http://www.aail.co.uk/
>
>
>
> Mark E. Smith
> Senior Member of Technical Staff
> Sandia National Laboratories
> 505.284.5293 (v)
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> www.highergroundbluegrass.com
>
>
>
>
>



Reply via email to