03-01-2024 05:00 AM
I have an electronic which is on TCP/IP over CIP.
I need a sample program for this.
I have developed few but that doesnt seem to work.
I have tried seeing the data trafic in wire shark.
I can see that hand shake is happening.
But i have error:
The network connection was refused by the server.
03-01-2024 05:33 AM
You mean probably CIP over TCP/IP, which is basically Ethernet/IP.
There are no trivial (and free) solutions for this. The Ethernet/IP Toolkit from NI is an option. Possibly the Turck Ethernet/IP Toolkit might work too. It's advantage is that it does only use native LabVIEW TCP/IP functions but it is specifically designed for Turck devices and needs some tinkering with others.
If you want to try not paying money you could also try this.
03-01-2024 12:03 PM
I've previously had good luck with EEIP.DLL, a .NET Framework DLL, in LabVIEW.
The site that maintained it was http://www.eeip-library.de/ but it appears to have not been renewed. If you look a year back in the archive.org wayback machine you can still see the site.
There are still official-ish places to get it:
https://www.nuget.org/packages/EEIP/
https://github.com/rossmann-engineering/EEIP.NET