03-05-2008 11:45 AM
03-05-2008 03:05 PM
03-06-2008 12:58 AM
Hi,
A couple of things about FileGlobals.
1. The contents within a FileGlobals is only valid during the execution of the sequence(s).
2. They are only in-scope to those items within the same sequencefile, unless you are using Parallel or Batch Process Models and have set the SequenceFile property to use the same FileGlobals.
Therefore, providing you bear these points in mind, then how you pass data to FileGlobals is the same way how you pass data to StationGlobals, is the same way as for Locals and Parameters.
Now if its the Static value of a FileGlobal then you need to use FileGlobalDefaults not FileGlobals.
Regards
Ray Farmer
03-06-2008 02:14 AM
03-06-2008 09:37 AM
03-06-2008 09:48 AM
03-06-2008 10:09 AM
03-06-2008 10:16 AM
03-06-2008 02:31 PM
Hi,
If you want the static version of the FileGlobals to contain your values then try in your Post Expression of your step the following example
RunState.InitialSelection.SelectedFile.Data.FileGlobalDefaults.Tasks = FileGlobals.TasksNow when the sequence finishes you will see the values in you FileGlobals at Edit time.
Regards
Ray Farmer
03-06-2008 11:59 PM