Controls
- 更新时间2023-11-11
- 阅读时长1分钟
Controls
This palette provides front panel controls for NI-XNET. You drag a control to the front panel of your VI.
Typically, you use I/O name controls to select a name during configuration, and the name is used at run time. For example, prior to running a VI, you can use XNET Signal I/O name controls to select signals to read. When the user runs the VI, the selected signals are passed to the XNET Create Session VI, followed by calls to the XNET Read VI to read and display data for the selected signals.
As an alternative, you also can use I/O name controls to select a name at run time. This applies when the VI always is running for the end user, and the VI uses distinct stages for configuration and I/O. Using the previous example, the user clicks XNET Signal I/O name controls to select signals during the configuration stage. Next, the user clicks a Go button to proceed to the I/O stage, in which the XNET Create Session VI and XNET Read VI are called.