Usr_SnapshotRstr

SUMMARY

Usr_SnapshotRstr - Restore snapshot from file

SYNTAX

Usr_SnapshotRstr(<File>,<Type>)

ARGUMENTS

File
Name of the Snapshot File
Type
- 0 = System- and Referenz Objects
- 1 = 0 + Prozess Variables of the Station "OS"
- 2 = 0 + 1 + all other PVs + POs

DESCRIPTION

Restores the conditions of the defined Object Types, as they are saved in a file.
If no Type parameter or an invalid one is supplied the system takes “0” as default.

EXAMPLES

Usr_SnapshotRstr(save_1,2)
The conditions of System=, Reference=, Process Objects and all Process Variables saved in the file:
…\PRCSNT\save_1_X.dbf
are restored.
“_X” was added by the system and refers to the system language.


Syntax Notation
[aaa]
aaa is optional (zero or one occurences)
(aaa|bbb)
aaa exclusive or bbb
(aaa)*
aaa may occur indefinitely often or may be omitted
(aaa)+
aaa may occur indefinitely often but at least once
(aaa)m..n
aaa may occur from m to n times