10-19-2023 06:29 AM
Hi,
I have a control architecture with two CRIO chassis and a PC:
- PC is running the UI.
- CRIO9049 is doing some specific high frequency measurements and runs the shared variable engine.
- CRIO9053 is doing some low speed acquisition.
The communication between the nodes is done using shared variables, with the library depoloyed on the CRIO9049, and everything works well when run from the project explorer.
However, if I build the stand alone applications, the connection with the 9053 does not work -while the 9049 and the PC can communicate without any problem. I can then open the application on the 9053 on the project explorer -what causes the 9053 and the 9049 to abbort their current processes because of the sahred variables (!)- and everything works.
So the question is what I am missing in my 9053 build, since it seems it is not able to connect to the SVE. But I am sure the SVE on the CRIO9049 is working, since it connects with the PC.
So I am not sure why the 9053 is not able to connect. Must I also somehow deploy the library on the 9053 pointing to the 9049?
Help is very much appreciated.
Carlos
10-19-2023 07:43 AM
You have 3 machines (2 cRIO and 1 host PC). Which machine is hosting the shared variables (has the variables.lvlib)?
Using Network Published Shared Variables to Communicate Between Systems
10-19-2023 09:27 AM
Hi ZYOng,
The library is installed in the cRIO9049.
Communication works well within the cRIO9049 and the PC. And it only works with the cRIO9053 if the SW is run from the project explorer.
Litos
10-19-2023 09:40 AM
How are the three machines connected together? Are both cRIO connected through a switch? Can you try running Putty on one cRIO and see if it can ping another cRIO?
10-23-2023 05:08 AM
Hi,
All three are connected with a switch.
172.22.10.1 is the host PC
172.22.10.2 is the CRIO9049, who has the shared variables library deployed
172.22.10.3 is the CRIO9053
I can ping CRIO9049 from CRIO9053 while the stand alone application is running. Still no communication