07-10-2015 10:13 AM
Hello,
We ported our application from Teststand 3.5 on Windows XP to Teststand 2014 with Windows7.
The sequence is started with testexec.exe to launch the application.
On WindowsXP, when user push the power button of the machine, windows shutdowns and every thing is OK.
On Windows7, we have a popup window from TestExec to confirm shutdown process with running sequence.
Because user has no keyboard, nor mouse, on the machine, it is a problem created by our new version of the application.
What are your advices to correct this?
My IT colleague, looks in Windows configuration to force shutdown even if an application cries but I think there is a specific setting to be used on Teststand side to be OK.
07-27-2015 10:29 AM
If I'm not at the right place for my question, where should I place it?
Do anyone have an advice?
07-31-2015 07:55 AM
Hi,
Probably you are asking for this option :
Configure menu -->Station options -->Time limits (tab)
settings for "normal execution"
when terminating or aborting.
There is an option for "Prompt Action".This can be moved to terminate.
Please try out different options and hope this helps.
Ravi
07-31-2015 08:18 AM
We will try.
Previously qith XP, we had not such issue but, you're right our settings may be differents.
To be continued in August.
09-07-2016 05:29 AM
solved by changing register in Windows
===
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Desktop]
"AutoEndTasks"="1"
"HungAppTimeout"="1000"
"WaitToKillAppTimeout"="2000"
"LowLevelHooksTimeout"="1000"
===
We are now close the need: short action on power button will power off the PC without blocking situation (from TestStand)