|Download Help (Windows Only)|
You can use NI-XNET features to create NI-XNET sessions within your LabVIEW project. You can drag these preconfigured NI-XNET sessions from the project to the block diagram and wire them directly to the XNET Read and XNET Write VIs.
You typically use a LabVIEW project when your application accesses the network using a fixed configuration. For example, if you are testing a single product, and your VI reads/writes a predetermined set of signals, a LabVIEW project is ideal.
Follow these steps to use NI-XNET within a LabVIEW project:
If you require configuration of NI-XNET sessions at run time, you can use the XNET Create Session VI as an alternative to a LabVIEW project. For example, if your application tests a wide variety of products, and the end user of your application must select a database and its signals using the front panel, the XNET Create Session VI is ideal.