Developing the DeviceNet Application in LabVIEW
- Updated2025-10-10
- 2 minute(s) read
Develop the DeviceNet application in LabVIEW by using I/O controls, function blocks and I/O variables. The following topics describe DeviceNet application development:
Note Read the Notice to
Develop the DeviceNet Application in LabVIEW before developing DeviceNet
applications in LabVIEW.
Notice to Develop the DeviceNet Application in LabVIEW
Follow these requirements when developing DeviceNet applications in LabVIEW:
- If you install the DeviceNet interface in the Windows host, enable the Scan Engine in Windows.
- Use the Set Scan Engine Mode VI in the LabVIEW palette Measure I/O»NI Scan Engine to set the NI Scan Engine Mode to Active before using any DeviceNet I/O variables or VIs for your application.
- If your application VI only uses the DeviceNet VIs, deploy the configuration before running the VIs.
I/O Variable
After you configure your project, you can find the I/O variables under the DeviceNet slave device.
Right-click the target item and select Utilities»View in System Manager to
display the NI Distributed System Manager. In this system
manager, you can monitor and change the I/O variables on the target. If you cannot see
the deployed I/O variables, press <F5> to refresh the item list.
Note The DeviceNet I/O variables can
access the slave device data correctly only after you deploy the DeviceNet
configuration successfully and set the NI Scan Engine mode to Active.
Palette
DeviceNet Palette: Access all common DeviceNet VIs at Industrial Communications»DeviceNet.
Advanced Palette: Access all advanced DeviceNet VIs at Industrial Communications»DeviceNet»Advanced.
Function Block Palette: Access DeviceNet Function Block at Industrial Communications»DeviceNet»Advanced»Function Block.