Hi ! I hope someone could help me !
I am trying to open a connection with a computer which IP adress is
10.4.1.114 via UDP. I configured the IPv4 address of my laptop to 10.4.1.33
coupled with the subnet mask 255.255.255.0 to connect to it.
I am running the VI on Labview 2014 SP1 (32-bit) on Windows 7.
However, the message can't be reached by the other computer because there is an issue with the first function : Open UDP VI. I tried several configurations on the VI (wired/ignored some optional input/outputs & run the VI on laptop or CompactRIO 9064) and I had all the time the 3 same errors depending on the situation.
Error 1 : input parameter invalid
Error 54 : ill-formed network address
Error 60 : specified port/network address is currently in use
First, I made the VI on a project directly running on laptop. But it gave the error 1 when I wired the optional port output or the error 54 when I ignored it.
Thinking that it could be an issue about the laptop who could not have access to the other computer, I tried to implement the VI on the cRIO (IPv4 address : 10.4.1.235, connected to the private network of these computers). I also added SocketSetReuseAddr=TRUE to LabVIEW.ini. and disconnected from networks which could be damaging the communication.
When I did that, on the VI running on cRIO, I got the error 54 when I tried to run the VI with the net address input wired or the error 60 when I ignored the net address input.
To sum up, I got these issues in these contexts:
VI running on laptop + net address input wired + port output wired => error 1
VI running on laptop + net address input wired + port output wired => error 54
VI running on laptop + net address input wired + port output wired => error 1
VI running on laptop + net address input wired + port output wired => error 54
VI running on cRIO + net address input wired + port output wired => error 54
VI running on cRIO + net address input wired + port output wired => error 54
VI running on cRIO + net address input wired + port output wired => error 60
VI running on cRIO + net address input wired + port output wired => error 60
I don''t get why I got these errors in these configurations. What differences could it make to run the VI on a project on laptop or on cRIO ?
In every configuration though, I succeeded to ping to the other devices (cRIO and the other computer)
Thank you for your help !