LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to prevent an xControl from becoming an indicator?

I made a very simple xControl that only makes sense as a control. Is there a way to prevent it from becoming an indicator?

0 Kudos
Message 1 of 2
(2,085 Views)

Yes, in the facade VI you have a number of different events. One of them is called Direction Change. It fires when the XControl is loaded into memory, or is changed from a control to an indicator, or vice versa. Put logic in that event that forces the xcontrol to be a control if it's set to be an indicator.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(2,038 Views)