05-20-2021 06:02 AM
Dear Experts,
Scenario:
We have an application where all our User Interface Application is in Host (Windows) and Hardware Application Layer Running in RT.
Sometimes when my host application is hanged and if its aborted without sending proper exit command to RT Application, My RT Application will not be responding to my next set of Commands. (Which should not be the case, we are working to resolve the hanging issue).
Problem:
During Such Instances we will be restarting RT via NI MAX which disconnects RT from host and expects Manual Push button restart for idle condition.
Requirement:
We should be able to restart my RT using NI MAX instead of Manual Push Button.
Please let me know if someone faced similar kind of problem.
Note:Due to pandemic we cannot depend on a person to be there to restart when required.
05-20-2021 06:18 AM
Hi Palanivel,
on RT you could use a watchdog, which gets hit whenever there is a communication with your host.
When the host "hangs" (aka communication is lost) the RT target could restart automatically after a given timeout. After restart it can go into an idle state, waiting for new communication from host…
05-20-2021 07:16 AM
Thanks GerdW,
Thanks for the suggestion, we are working on the application as you suggested.
In meantime i wanted to Understand, Why the behavior restart in NI MAX is not as same as push button restart.
05-21-2021 04:42 PM
@Palanivel
The push button cuts power completely. The restart does keep some life in order to allow the boot loader to stay alive to boot the OS back up.
-Bear