Save Sequencer configuration at run time
- Last UpdatedJul 20, 2024
- 1 minute read
At run time, you can save the Sequencer object configuration (step program, Aliases, and settings) by
-
specifying a file name
-
writing the save command
To save the run-time configuration to an XML file:
-
Write the file name with path to the string attribute PrgFileNameToLoadSave.
-
Write the value Save to the enum attribute PrgSeqConfigCmd.
-
Check the attribute PrgSeqConfigStatus for details on the save:
Value
Description
Saving
The save is in progress.
Ready
The save has completed successfully and an XML file with the specified name is created at the specified location.
Error
The save encountered a problem. This could be due to insufficient privileges to create the XML file in the specified location.
A file error does not affect the error status of the Sequencer object.
Additional feedback and results from the save are reflected in the following attributes:
-
PrgSeqConfigStatus.Error
-
PrgSeqConfigStatus.Desc
-
PrgSeqConfigStatus.Code
For a detailed overview of these attributes and their properties, see Sequencer object help.