LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication with CompactRIO

Hello,

 

I have an application in LabView and I need that before starting the application, check that I have communication with the compacRIO, if not, I should avoid this startup, but if the communication is correct, you should start the program. Is there any function to do that check? Or some way of doing a "ping" to the IP of the CompactRIO and getting an answer, knowing that the communication is correct?

 

Thank you!

0 Kudos
Message 1 of 2
(2,165 Views)

Hi a.,

 

the RTExe on your cRIO should run anyway.

So you can have your host PC exe to start a network communication with your cRIO exe (where the needed code is implement!) and when your cRIO answers the host PC exe can go to "normal" working mode.

 

I use UDP communication with my cRIO devices, mainly based on the UDP examples coming with the example finder in LabVIEW…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,144 Views)