LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Notification for control changing?

Hi,

i have to write a big application with a lot of input controls. If the
vi runs i have to know when a control has changed. Is there a way to get
this changing into a notification message or have i to poll all controls
inside my loop? Polling it's not good cause it cost's time and memory.

Could somebody help me?

*But i don't think that this methode is possible!*

Bye
Henrik
0 Kudos
Message 1 of 3
(2,335 Views)
I'm not sure if this is relevant to what you are doing but try this link:

http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&F7DAD5C6404427AA862568890001D5E0&cat=2212A1CF726BE56C862567AC00583B8C

(or go to resource library in the developer zone and search for "determine
if control is clicked")

This may not be best for you but it will determine when a control is clicked
(changing its value) by monitoring the mouse events.

Jared

Henrik Skupin wrote:
>Hi,>>i have to write a big application with a lot of input controls. If
the>vi runs i have to know when a control has changed. Is there a way to
get>this changing into a notification message or have i to poll all controls>inside
my loop? Polling it's not good cause it cost's time and memor
y. >>Could somebody
help me? >>*But i don't think that this methode is possible!*>>Bye>Henrik
0 Kudos
Message 2 of 3
(2,335 Views)
Henrik Skupin writes:

> Hi,
>
> i have to write a big application with a lot of input controls. If the
> vi runs i have to know when a control has changed. Is there a way to get
> this changing into a notification message or have i to poll all controls
> inside my loop? Polling it's not good cause it cost's time and memory.
>
> Could somebody help me?
>
> *But i don't think that this methode is possible!*
>
> Bye
> Henrik

Henrik,

This sounds like you are not using data flow programming, but
variables all over the place. That easyly leads to race condiditons
and copies of variables.

It's difficult to suggest a solution without knowledge about your
requirements and the current program.

Johannes Nieß
0 Kudos
Message 3 of 3
(2,335 Views)