From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

Read EDS file for EtherNet IP

Solved!
Go to solution

Hi friends,

 

I need to check the EDS file for EtherNet IP communication. I want to read the EDS file, verify the vendor details and parameters that are being written into the EDS file for a verification purpose.

 

 

Is it possible to read the EDS file for EtherNet IP?

 

Regards,

Ganesha Moorthy

Message 1 of 13
(17,233 Views)

Hi,

 

NI EIP toolkit can only be an EIP adapter rather than a scanner. The role of a scanner is typically played by a PLC who should be able to parse EDS to read the electronic device description file of a particular EIP device. 

 

You may use other LabVIEW general file I/O VI's to write an application to verify the EDS file, but it does not have anything to NI EIP toolkit.

0 Kudos
Message 2 of 13
(17,220 Views)

Thank you Lewis!!! Does LabVIEW support reading the EDS file? Verify the data?

 

Is there any example on it?

0 Kudos
Message 3 of 13
(17,217 Views)

Hi,

 

LabVIEW definitely can read files.

You can refer to LabVIEW's Help>>NI Example Finder, and find many examples in the category: Foundamentals / File Input and Output

0 Kudos
Message 4 of 13
(17,206 Views)

I hope it's not able to read the file? any other suggestions?

0 Kudos
Message 5 of 13
(17,060 Views)

Hello Ganesha Moorthy,

 

Please find in the below link how to read a EDS file, It worked out for me with a Ethernet/IP EDS.

http://digital.ni.com/public.nsf/allkb/B0C706F46668ED78862568AA006CCF72?OpenDocument

 

Let me know if this work ou for you

 

Thanks!!

Mauro Rodríguez
ELP - Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 6 of 13
(16,484 Views)

Hi Mauricio, 

 

I've tried with the suggested link, but I couldn't read the file?

0 Kudos
Message 7 of 13
(16,479 Views)

Hi gnshmrthy,

 

Could you post your EDS file? I can take a look to see what's going on here.

 

Thanks!

Matt S.
Industrial Communications Product Support Engineer
National Instruments
0 Kudos
Message 8 of 13
(16,425 Views)

Hi Aix-La-Chapelle, 

 

I've attached the EDS file. 

 

Ganesha Moorthy

0 Kudos
Message 9 of 13
(16,419 Views)
Solution
Accepted by mini09

Hi gnshmrthy,

 

The example posted from the KB should work with your EDS file.  I was able to successfully use it with the default values for the section (Device) and key (VendName).  I think you are running into issues because you are using an invalid value for the Key.  In this image, I'm using a red arrow to point to the section and I'm circling the different keys that are valid. 

 

EDS.PNG

Following this you should see results like this:

 

eds2.PNG

 

Let me know if it works!

Matt S.
Industrial Communications Product Support Engineer
National Instruments
Message 10 of 13
(16,410 Views)