LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI PXIe-8840- Restart Through NI MAX Disconnects from Host.

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.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 1 of 4
(1,255 Views)

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(1,246 Views)

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.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 3 of 4
(1,224 Views)

@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

Regards,

Ben Johnson
ʕง•ᴥ•ʔง
0 Kudos
Message 4 of 4
(1,196 Views)