06-08-2007 03:59 AM
06-12-2007 03:36 AM
06-12-2007 06:40 AM
Hello Pelle,
I studied the first link before. That information describes how to access the FileGlobals after a sequence is started as I understood it. My problem is that the sequence is not started when using the configuration entry point in process model (but sequence file loaded e.g. in deployed OI). Therefore, I have only access to FileGlobalsDefaults, where some variables may have e.g. an undefined array size. If I could change the FileGlobalsDefaults, I have understood that when sequence is started, a run-time copy of the FileGlobalsDefaults to FileGlobals is created. But, I think there is restrictions to modify the sequence file in a deployed base version license. Does this restriction come to effect in this case ?
The second link will have the same restriction as the first one related to access the run-time copy of the FileGlobals variables in configuration entry point in process model.
I think following procedure would work in configuration entry point sequence:
1) copy dynamically FileGlobals from client sequence file to process model
2) import the values for FileGlobals using the property loader from Excel worksheet
3) do the modifications of the FileGlobals values
4) export the modified FileGlobals to Excel worksheet dynamically
5) delete the dynamically created FileGlobals in process model
I attach three files in order to test this. All files must be stored in same folder. In station options other models must be allowed.
Regards,
Petri
06-13-2007 09:18 AM
I have added some steps to collect FileGlobals variables from client sequence file and create them dynamically in process model. I think this works for me now, but I have not yet tested if it works in deployed base version license. Dynamic export to Excel I leave out of scope this time.
Regards,
Petri
06-14-2007 07:24 AM
Hi Petri,
I have tried your sequences on a base deployment system (TS 4.0) and it works. Please let me know if you have further questions.
Best regards,