04-29-2012 02:49 PM
Hello to Everybody,
I hope that some can help me, because I've got a problem with a variables(type fileGlobals. When I close Teststand, after is executes a my sequence, the fileGlobals variables are initialize with the last value, instead of zero.
Thanks so much.
I can not understand the reason
Francesco
04-30-2012 10:47 AM
Probably somewhere in your sequence you are setting the edit time values for the fileglobals rather than modifying the runtime copy. If you are doing anything with FileGlobalDefaultValues or modifying the fileglobals using an edit time version of a sequence context, that is likely the cause of your problem. To get the file globals at runtime (i.e. get the runtime copy), you either need to access the FileGlobals property of the current sequence context or use Execution.GetFileGlobals().
Hope this helps,
-Doug
05-01-2012 02:50 AM
Thanks for the reply ... Now I try to seek and follow your advice. I'll let you know if I solvedthe problem
Francesco