LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programically checking RT8145 after rebooting

My application programically reboots my 8145RT device. I was wondering if there is a way to programically tell when the RT device has finished rebooting so that I can restart my TCP/IP communication to the device.
Currently I just wait 45 seconds before starting communication again. Somtimes 45 seconds is long enough for the RT device to finish rebooting, but sometimes it needs more time. I would rather have a way to check when the RT device is ready instead of increasing the wait time.
0 Kudos
Message 1 of 2
(2,564 Views)
One thing that you could do would be to have your Host (Windows) machine reboot the 8145 and then use the 'TCP Listen.VI' to wait for the 8145's application to open the port.

Another option would be to reboot the 8145 and then send a 'ping' command to it's IP Address using the System Exec.VI. The ping command should fail/timeout until it has rebooted.

Regards,

JR Andrews
Application Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,564 Views)