When I've had to do this I use a shift register. I compare the current
value of an input to the previous value. Using a case structure, if
the input has changed, you handle it with your subvi. If the input
hasn't changed, then do nothing (or whatever). Hope this helps. It's
a pretty simple solution, there may or may not be a simpler (more
elegant) solution out there.
Spencer
In article <3942769f.57900035@news.door.net>,
bmoore@door.net (Brett L. Moore) wrote:
>
>
> Hi,
>
> I am using LabView 5.1 and need to perform some input checking at the
> time the user changes an input control. For example, if a user
> updated a numeric control using the arrows or by pressing enter, I
> would like to call another VI at that event. That VI would inspect
> the contents of t
he control to see if it made sense in the current
> context. If not, it would alert the user. This sequence could be
> likened to LabWindows callback functions.
>
> Any ideas? Thanks,
> Brett
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.