Profile maintenance Syntax:
Profile;Cmd=Save|Backup|Restore|Upgrade; <filename=name;> <comment=text;>
<confirm=0|1;><components=Hardware>
Example 1: Sample Commands
Profile;Cmd=Save
Profile;Cmd=Backup;comment=Backup after configuration changed
Profile;Cmd=Upgrade;
Profile;Cmd=Backup;Components=Hardware;Filename=c:\Backup\Hardware_004.zip"
Example 2: Python Script Upgrade from defined backup file
ExecuteCmd('Upgrade','Cmd=Upgrade;filename=c:\Backup\Backup.zip')
Example 3: Python Script Automatic Backup
ExecuteCmd('Backup','comment=Automatic')
Example 4: Python Script - component backup and restore
ExecuteCmd('profile','cmd=backup;filename=componentbackup.zip;components=hardware')
ExecuteCmd('profile','cmd=restore;filename=componentbackup.zip;components=hardware')
Notes:
- Default Backup filename is profilename_nnn.zip, where nnn is increased by one
for each backup, starting at 1. If filename contains no path information,
the backup will be stored at the configured Archive directory.
- Confirm option applies to the Save command and overrides the 'Confirm
save' option if present.
- Backup comment is appended to the default comment. The default comment
contains key values for backup creation time, Scorpion version and profile
name. The comment may be viewed/edited with WinZip.
- Backup is also
available by the Backup command.
- The Upgrade command restores a backup
keeping local configuration. The local configuration contains the
components HARDWARE, LOCAL and CALIBRATION, including content in profile
subdirectories of same component name.
- If filename if omitted in the
Upgrade command, the user will be asked to select a backup from the
restore backup dialog.
- Components=Hardware allows the user to backup
the hardware configuration (camera)
- The Restore command works on components only
|