Example Code

Archived: Using LabVIEW to Read an EDS File from DeviceNet Devices

Code and Documents



This document has been archived and is no longer updated by National Instruments.

This article explains the method for reading DeviceNet EDS file components into LabVIEW instead of importing the EDS file into the project.


The EDS file is a plain text file that can be read into LabVIEW and parsed using the Configuration File VIs that ships with LabVIEW. These VIs are found in the Functions Palette under Programming»File I/O»Config Files VIs.

Below is an example of reading in the EDS file:



In this example, you can read multiple keys and return these values for use in your downstream NI-Industrial Communications for DeviceNet code.


Additional Resources


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