Using XControls in VIs
- Updated2025-08-15
- 1 minute(s) read
After you create an XControl, you can use it in a VI just as you use a built-in LabVIEW control or indicator. When you use an XControl in a VI, the block diagram for that VI is simplified because the XControl includes the behavior of the control. Place an XControl on the front panel of a VI, click the Select a Control icon on the Controls palette, and navigate to the XControl .Xctl you want to place on the front panel.
After you add the XControl to the VI, use it just as you would a built-in LabVIEW control or indicator. You can resize the XControl as a whole to fit the front panel. You can access custom and built-in menu items for the control. You also can programmatically configure the XControl through the custom properties and methods implemented in the XControl.
Refer to the Run Dual Mode Thermometer XControl VI in the labview\examples\Controls and Indicators\XControls\Dual Mode Thermometer directory for an example of using XControls. Find related examples