LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use custom properties for XControls?

Solved!
Go to solution

There is an article informing how to use XControls: https://zone.ni.com/reference/en-XX/help/371361R-01/lvhowto/creating_xcontrol_properties/

The problem is that I cannot find and article how to use them.

When I set a value to the property from a VI that uses the XControl, I cannot read this value in the XCOntrol Facade itself. I think the image will explain better:

Станев_0-1604665941996.png

 

 

0 Kudos
Message 1 of 2
(1,080 Views)
Solution
Accepted by topic author Станев

So, https://www.ni.com/tutorial/3198/en/, item 4. Custom Properties for XControls provides some information.

Actually what is missing there is that one of sample code should be placed in the ....Write property.vi and the other- in the ...Read Property.vi.

The example bundled with LabView clarified the rest.

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