LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

xcontrol write value problem

I have multiple xControls which co-exist on the same main vi and operate on a common data cluster.

 

The value change event for each xControl is also registered in the main vi.

 

If I load a new set of values into the common data cluster then I need to write to the xcontrols to update them to reflect the new common data cluster values.

 

I am using a custom Method to write to each xControl.  This passes a cluster to the relevant xControl via Display State on each Facade vi.  Value changed? is set to true in the Facade after each write method (this seems to be essential or else xcontrol hangs).

 

Problem is when I write to each xControl using the method, afterwards (after writing) it triggers multiple (hundreds) of value change events which execute on the main vi.

 

I'm hoping somebody can help me.  What is the best way to write value to xcontrols without triggering value change events??  And after it's written its output terminal must match the written values..

 

Thanks.

0 Kudos
Message 1 of 3
(2,203 Views)

Hi,

 

Is possible that you share a simplified version of the code?

 

Regards,

 

Mcoto

0 Kudos
Message 2 of 3
(2,164 Views)

I will try to post something.  Thanks.

0 Kudos
Message 3 of 3
(2,159 Views)