03-24-2011 03:53 AM
Our production team ran some of our TestStand software when it froze. Upon exiting the report file contained only one error:
“Error, Unknown variable or property name ''. [Error Code: -17306, Unknown variable or property name.]”
This has not happened before with this test sequence.
Now I have seen this before, during development of other TestStand projects, but there are usually details of the unknown variable in the error. This one just has empty quotes! There are around twenty sequences called in this software. Is this a rouge error, a symptom of the freeze, or do we have an unknown variable issue in these sequences?
03-24-2011 07:29 AM
Hi Christopher,
As you say as part of the Error Message you should of had the Variable name.
With this freeze and if you had to force exit of the TestStand, it would seem that to get any report at all you must be doing some sort of 'On the Fly' reporting. If so, can you pin point what the test sequence was doing to try to identify the cause of the freeze.
Maybe you are obtaining the variable name dynamically and because of the crash this value was not obtained and therefore you were passing an empty string. Hence no variable name in error message.
03-24-2011 07:53 AM
I was not running it at the time of the problem unfortunately.
The sequence launches a CVI dialog box with status information, Abort buttons, and text entry in a thread. It then sits in a while loop (could be for many hours) monitoring inputs from a chamber and the unit being tested. If it’s going ok then the report contains very little.
It does do on the fly reporting, but looking at it, the actual report is complete, which means it went through the Clean Up sequences and through the Station Model sequence to completion. I suspect that I need to find out the definition of “froze” from the operator as I suspect the test froze not TestStand from this evidence!
Thanks.