Example Code

DeviceNet Communication - Write Data

Code and Documents

Attachment

Overview
This example shows how simple way we can write data to devicenet devices

 


Description
This VI use Device Net to cummunication between the net device and the local data. It can be used to write data from the local to the net device.

 


Requirements

  • LabVIEW 2012 (or compatible)
  • NI NI-Industrial Communications for DeviceNet 2.2 (or compatible)


Steps to Implement or Execute Code

  1. Download the attached folder to your computer
  2. Open the VI "Device Net Write Data 2012 NIVerified.vi"
  3. Set the parameter in the front panel
  4. Run this VI

 

Additional Information or References
VI Snippet

 Block Diagram.PNG

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

 

Regards
Prabhakant Patil

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.