01-16-2008 02:10 PM
01-16-2008 03:23 PM
Hi MrBean.
To avoid lot of file access I would try overwriting the Pre- and PostUutLoop Callbacks. In the Pre.. copy your stuff from StationGlobals to SequnceFileGlobals, now you have read and write access without using a file on drive. In the Post.. do it reverse to save your variables on drive. In your SequnceModel these steps are only called once when starting a uut-test.
Just try it
Hope that helps
greetings
juergen
01-17-2008 12:46 AM
Juergen,
I think you must mean ProcessSetup and ProcessCleanup callback sequences.
The Pre and PostUUTLoop callbacks get called for each UUT when you execute Test UUT's and never if you use Single Pass.
Regards
Ray
01-17-2008 12:57 AM
01-17-2008 06:59 AM
01-17-2008 07:17 AM
Hi,
If you are writing to the StationGlobals, you will need the file attributes as read/write. The StationGlobals file only gets updated when TestStand shuts down or when if you force a Save Station Globals using the API function.
With the FileGlobals, usually you are changing the Runtime version and therefore you are not changing your Sequence Files. If you are changing the static version of the FileGlobals (DefaultSequenceFileGlobals), then obviously, you will have to have the sequence file with file attribute of read/write.
Regards
Ray Farmer