
be able to access the object property in the process value archive (P) and/or in the compressed
archive (V).
Object property Description Read/Write is used in
ObjectStateTlgArchive Returns the object state via the enumeration
HMIGO_OBJECT_STATE. Further
information on this enumeration can be
found in this documentation under "VBA in
other WinCC Editors".
Yes/no P, V
TlgArchiveName Name of the process value archive or
compressed archive.
Yes/no P, V
TlgArchiveType Specifies whether the archive is a process
value archive or a compressed archive.
Yes/no P, V
TlgArchiveAccessLevel
Read
The authorization level for reading. Yes/no P, V
TlgArchiveAccessLevel
Write
The authorization level for writing. Yes/no P, V
TlgArchiveArchiveState Specifies whether archiving is disabled or
enabled at system startup. Possible values
of Enum HMIGO_TLG_ARCHIVE_STATE:
● TLG_ARCHIVE_STATE_LOCKED (1)
● TLG_ARCHIVE_STATE_ACTIVATED
(0)
Yes/yes P, V
TlgArchiveBufferSize Specifies the number of records for a short-
term archive.
Yes/yes P
TlgArchiveBufferType Specifies the tag storage location. The
possible types of Enum
HMIGO_TLG_ARCHIVE_BUFFER_TYPE:
● TLG_ARCHIVE_BUFFER_TYPE_DISK
(2)
● TLG_ARCHIVE_BUFFER_TYPE_RAM
(1)
Yes/yes P
TlgArchiveCompressRa
nge
Specifies the compression time period.
Name of the timer, greater than or equal to
1,
defined under "Times" in the Tag Logging
editor. Since the format is a string, it is
language dependent.
Can be determined via the function
ListTlgArchive(TLG_ARCHIVE_TRIGGER_
NAMES, arrTrigger)
Yes/yes V
TlgArchiveCompressTy
pe
Specifies the algorithm for compressing the
values. The possible types of Enum
HMIGO_TLG_ARCHIVE_COMPRESS_TY
PE:
● TLG_COMPRESS_TYPE_CALC (1)
● TLG_COMPRESS_TYPE_CALC_COPY
(2)
● TLG_COMPRESS_TYPE_CALC_DEL
(3)
● TLG_COMPRESS_TYPE_CALC_COPY
_DEL (4)
Yes/yes V
VBA for Automated Configuration
4.6 VBA in Other WinCC Editors
MDM - WinCC: Scripting (VBS, ANSI-C, VBA)
System Manual, 11/2008,
2439