10-23-2019 08:27 AM
Hey Guys!
I have a cRIO-9039 and want to connect a Tinkerforge module to the ethernet port of the cRIO. I tried quite a lot of things but can't establish a connection between these two devices. What I did so far:
- I configured the ethernet port (eth1) of the cRIO with a static IP adress (172.22.1.23) and a subnet (255.255.255.0).
- I configured the ethernet port of the Tinkerforge module with a static IP (172.22.1.67) and the same subnet as the cRIO. The Tinkerforge module uses port 4223, which I also set as a constant in LabVIEW.
- I connected the cRIO and the Tinkerforge module to a switch that has no other connected devices. I read on a forum that you can't connect the cRIO directly to another module and to minimize error sources I am now using that switch.
- I can connect a PC to the switch and ping both the cRIO and the Tinkerforge module. They work as expected and send an answer.
- I have a VI running on the cRIO to establish the communication. After several attempts the initial "TCP open connection" still shows the error 59.
2 days of searching for a solution on the web didn't bring any answers to this problem. Are my settings in the VI correct? I read that during execution in interactive mode the code is not working. Any help on that?
Here is the link of the post I am referring to:
That is the module documentation I want to use:
https://www.tinkerforge.com/de/doc/Low_Level_Protocols/TCPIP.html
Thanks for your help!
Tobi