LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling of cRio NI 9012 working incase of TCP failure??

Hi,

 

I am working on cRIO NI 9012 and NI 9505 card for motor control.I want that motor and cRIO should stop working in case of TCP/IP connection failure(Cable unplugged or connection failure).But when i unplug the TCP cable from cRIO the connection with cRIO fails but it keeps on working with initially burned program parameters and motor keeps on running.

PLease help me out in this matter.

 

Thanking in advence.

 

Best Regards,

 

Shoaib 

0 Kudos
Message 1 of 3
(2,446 Views)

Hi Shoaib,

what have you done so far? Do you react in the TCP connection failure? You can use a watchdog.

 

Mike

0 Kudos
Message 2 of 3
(2,428 Views)
Shoaib-

Mike is exactly correct.  You should use the Watchdog VIs to monitor communication between your cRIO and your host machine.  These functions will produce an output should a communication failure occur.  For additional information on the Watchdog API, please view the link to the LabVIEW Help below.

LabVIEW 2009 Help: RT Watchdog VIs
http://zone.ni.com/reference/en-XX/help/370622G-01/lvrtvihelp/pxi_watchdog_vis/
Regards,

Mike S
NI AE
0 Kudos
Message 3 of 3
(2,398 Views)