11-09-2010 08:04 PM
Hi helper,
I have two questions please.
Please have a look the attached sequence file. In the main sequence, I have added sequenceFileLoad and sequenceFileUnload two callbacks, and have one fileglobals, FileLoadPass.
Many thanks
Wei
11-10-2010 01:01 AM - edited 11-10-2010 01:03 AM
Hi,
The two callbacks SequenceFileLoad and SequenceFileUnload only run when the SequenceFile is first loaded and when the SequenceFile. They do not run at any other time ie when running MainSequence or have anything to do with the execution of the MainSequence either on it's own or with the Entry Callbacks Single Pass and Test UUTs.
Once the two callbacks having finished running, if you are writing to FileGlobals within the Callbacks, that data will be lost as you would have been writing to the runtime version of the FileGlobals. If you what to use this data during the execution of the MainSequence then you have to change the FileGlobalsDefault values which is the static version of the FileGlobals ("RunState.SequenceFile.Data.FileGlobalDefaults") or you have to use StationGlobals.
11-10-2010 02:18 PM
Hi Ray,
Thank you very much for the 1st item.
Wei