04-03-2013 08:02 AM
Hi,
I am getting strange problem in loading the limits from a propterty loader file as follows.
I wrote a sequence which runs in an infinite loop where in based on some station globals i am loading the limits from a propertyloader file.
The logic is working fine without any issues upto 70 interations. But at 71st iteration al of a sudden the property loader step is failing to open the file to get the limits for which it was able to open till 70 iterations.
Any ideas what could be the problem? I am using Teststand 2010 with SP2.
I appreciate if any one can help on tihs issue.
regards,
Ramjee V
04-03-2013 08:57 AM
Please post the sequence and the property loader file (a representative version of the sequence as a minimum) or else there is no way to comment on your problem.
04-04-2013 04:15 AM
What is the error you are getting?
Does it always happen at the 71st run?
If not always at 71st then few suggestions to try :
Generally in tight loop situations there maybe a possibility that before releasing the file handles the code must be trying to acquire it for which an error may happen.
Try adding a delay before property loader.
04-04-2013 04:22 AM
Hi,
I am getting the error with error code 17201: Unable to open file.
Almost the point the problem started it is at 71st iteration itself.
regards,
Ramjee