02-18-2014 06:26 AM
Hello,
I made a sequence (Auto IT Low Sequence.seq) by calling AutoIT reference in TestStand as ActiveX.
This sequence runs fine on TestStand sequence editor.
But, when I am trying to run the same sequence in Default TestStand Operator mode, its getting stucked at STEP-3.
OS: Windows 7 64bit
TestStand: 2010 SP1
AutoIT: V3 in 32bit configuration
More Info:
This sequence runs fine on Windows XP in both (TestStand Sequence Editor & Operator Mode).
I am not able to understand why it runs fine in Editor Mode, but doesnt run well in Operator Mode.
All relevent files are attached.
Thanks & Regards,
Deepak Singh
02-18-2014 09:34 AM
Hi,
Sorry I have no idea why this is not running.
but I am also using autoIt in some off my tasks. I had never a problem if i was in editor or operator mode.
I did my stuff i another way like you. i have translated the AutoIt scripts into executables. In TestStand i used the exe-steptype
to consume it.
Maybe this could also work for you.
Regards
Juergen
02-18-2014 09:50 AM - edited 02-18-2014 09:51 AM
Where does AutoIT come from? You might consider asking the developer of AutoIT for support. I don't think there is anything on the TestStand side that should be leading to such a problem.
Does it hang if you use a different Operator Interface such as the one written in C# or CVI?
-Doug
02-18-2014 10:28 PM - edited 02-18-2014 10:29 PM
Thanks for Reply,
@dug9000: Yes behaviour is same in other operators mode like C# or CVI.
Actually I could raise this issue to AutoIT forum, but the thing is that the sequence runs fine in windows XP in Operator mode also in Sequence editor.
When it comes the case of Windows-7 64bit, sequence only runs in Editor mode, but not in Operator Mode.
I have little doubt on TestStand Operator mode, because in Editor mode there is no issue.
I am totally clueless or may be I will try j_dodek's suggestion.
02-19-2014 12:26 PM - edited 02-19-2014 12:31 PM
Assuming they can reproduce the issue, the AutoIT developers could perhaps attach a debugger to the process and see where exactly the hang is happening in their code which might help better determine the cause even if it is not directly related to AutoIT.
The AutoIT method name "WinWaitActive" does imply it is waiting for something, perhaps the thing it is waiting for does not always happen on Windows 7. Perhaps the creators of AutoIT could explain in more detail what WinWaitActive does or might have some idea of why it might hang.
If you have Visual Studio, you could also try debugging this yourself and see if you can figure out if there is a particular Windows API call that isn't returning that is leading to the hang in that thread.
-Doug