NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Mohammed.Ashraf
Posts: 87
0 Kudos
Accepted Solution

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

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
Active Participant
vitoi
Posts: 306

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

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.

Member
Mohammed.Ashraf
Posts: 87
0 Kudos

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

Brilliant !! and simple !

Thanks alot

Eng. Mohammed Ashraf
Certified LabVIEW Associated Developer
InnoVision Systems Founder, RF Test Development Engineer
www.ivsystems-eg.com
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page