07-17-2018 06:03 AM
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!
07-17-2018 06:54 AM
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…