Up | AccessControl | Shutdown | Profile | Backup | Curves | Delay | LogMsg | Console | QAlarm | QAlarmReset | RefCmds | InitSaveImage | SaveImage | Script | Start | Statistics | Stop | WebBrowser

 

  

 
Profile
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:

  1. 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.
  2. Confirm option applies to the Save command and overrides the 'Confirm save' option if present.
  3. 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.
  4. Backup is also available by the Backup command.
  5. 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.
  6. If filename if omitted in the Upgrade command, the user will be asked to select a backup from the restore backup dialog.
  7. Components=Hardware allows the user to backup the hardware configuration (camera)
  8. The Restore command works on components only

 


Scorpion Vision Version XII : Build 646 - Date: 20170225
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2017 Tordivel AS.