NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

property loader failed to open

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

 

 

0 Kudos
Message 1 of 4
(2,987 Views)

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.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 4
(2,983 Views)

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.

 

0 Kudos
Message 3 of 4
(2,962 Views)

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

0 Kudos
Message 4 of 4
(2,960 Views)