10-14-2011 07:11 AM
Hi,
I have posted a problem yesterday explainig that my custom interface in C# was Hanging/Locked when using parallel executions.
=> My application works fine when i run the sequences sequentially.
So i have followed my investigations and i found the origin of the problem.
In my application i use a special process model with 2 callbacks :
In these callbacks i had to look for a special step. So i write something like :
SELECT RunState.Caller.Step.StepType.Name
CASE "XXXXX"
....
End
CASE "YYYY"
....
End
End
I do replace this syntax by :
IF StrComp( RunState.Caller.Step.StepType.Name , "XXXXX" ) == 0
...
End
IF StrComp( RunState.Caller.Step.StepType.Name , "YYYY" ) == 0
...
End
And then the application hangs no more !!!!
This problem can be viewed directly with TestStand using a parallel processModel containing the callbacks with the select ....
Here are 2 files which can reproduce the problem easily ...
Manu.net
10-18-2011 07:29 AM - edited 10-18-2011 07:30 AM
Hello,
Thank you Manu for your trick. I am sure it will help.
The original post is here.
Jean-Philippe C.
National Instruments France
10-19-2011 09:57 AM
Manu.net -
From your sequence files, it looks like you're using TestStand 2010. I believe you might be running into Known Issue 276979 which was fixed in TestStand 2010 SP1.
Hope this helps.