LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Allowing my Target (cRIO) to detect LAN disconnection with host

Solved!
Go to solution

Dears 

I am developing a stand alone application using sbRIO (having RT VI and FPGA VI) and logging data to a Host PC (Host VI)..

the point is that i need my RT target to detect if a LAN disconnection occured (e.g. host pc crashed) , it should do a certain data collection until the LAN connection is retrieved..

 

I Dont know if there is something similar to pinging between the RT and host that is periodically done to check the connectivity ?

Help !

 

Thanks in advance

Eng. Mohammed Ashraf
Certified LabVIEW Associated Developer
InnoVision Systems Founder, RF Test Development Engineer
www.ivsystems-eg.com
0 Kudos
Message 1 of 3
(5,658 Views)
Solution
Accepted by topic author Mohammed.Ashraf

Why not sent a "heartbeat" message every second. This way, if the heartbeat does not occur after a certain period, the local data collection can occur.  Other messages can be sent to grab the local data and reinstate data streaming.

Message 2 of 3
(5,652 Views)

Brilliant !! and simple !

Thanks alot

Eng. Mohammed Ashraf
Certified LabVIEW Associated Developer
InnoVision Systems Founder, RF Test Development Engineer
www.ivsystems-eg.com
0 Kudos
Message 3 of 3
(5,641 Views)