Historical Log Registry Keys

List of parameters which influence project historicals.

See also "Movicon Configuration Keys"

 

Key

Value

Type

Description

Default

Win32/64

WinCE

General

ODBCQueryTimeOut

DWORD

Timeout in seconds for extracting data from one historical.  Once exceeded the operation in progress   will be annulled and notified with a message printed in the log.

15

General

ODBCLoginTimeout

DWORD

Timeout in seconds for authenticating database login.  Once exceeded the operation in progress will be annulled and notified with a message printed in the log.

15

General

TimeToWaitAfterODBCError

DWORD

Waiting Time in seconds before retrying a command towards the database which generated error.

10

General

ODBCMaxReadingChars

 

DWORD

Value in bytes of the reception buffer for ODBC dataabase  "nVarChar" values.  If the text in the database exceeds this value, it will be cut off when in read.  (in existence starting from build 1018).

 

2048

-

General

MaxLogEntries

DWORD

Max. size in Kbytes of each LOG file created by the application's trace.

100

General

MaxLogFiles

DWORD

Max. number of LOG files used for each trace type.  Once this value is reached data will be recycled to the oldest file.

When setting value to 0 the creation of the  log file creation will be disabled in the "logos" sub folder.

10

General

IMDBMaxHMemory

DWORD

Max. size in Mbytes of memory which can be allocated  to shared areas to manage  InMemoryDB (IMDB) historicals.

 

Once this limit is reached no other value will be recorded until memory space has been freed.  A  "IMDB - Internal error: Out of shared memory" message will appear in the system log. 

 

Min. Value Min = 1048576

Max. Value = Memory available in  PC/Device

Win32/64:

16777216

 

WinCE:

4194304

General

IMDBMaxLMemory

DWORD

Max. size in Mbytes of memory which can be allocated to private areas to manage InMemoryDB (IMDB) historicals.

 

Once this limit is reached no other value will be recorded until memory space has been freed.  A  "IMDB - Internal error: Out of shared memory" message will appear in the system log. 

 

Min. Value = 1048576

Max. Vaue  = Max. memory which can be allocated for each process for the operating system being used (WinCE 5.0 = 32 MB).

Win32/64:

67108864

 

WinCE:

4194304

OPCClient DA

Trace

DWORD

OPCClient DA:

Enabling the OPC Client DA log to record information concerning events received for value change notification items and writing items to the OPC Server DA Servers.  

 0 = Only basic information is traced.

1 = All information is traced.

0

General

ADOCEProvider

SZ

Name of provider used for connecting to databases in WinCE.

String = Microsoft.SQLSERVER.MOBILE.OLEDB.3.0

-

General

ADOCEDataSourceExt

SZ

Extension used for creating databases in WinCE.

.sdf

-

General

 

ODBCTokenForSpaces

 

SZ

This value is used for inserting the start and end character that Movicon will use in composing Queries when Table or Column names contain spaces.  These character may differ according to the DataBase being used.  The default characters used in syntax for  SQL Server and MS Access are square brackets.  String type values must contain at leas two characters where the first will be used for opening and the last for closing syntax.

 

[]

BasicScript

Trace

DWORD

This key enabled when set at 1, creates a Log file (also visible in "Output" window) with detailed information on script execution.  The log file will be saved in the project's "LOGS" folder with the name of  "Script Debug Trace.log".

0

 

General

ODBCUseBooleanForBitTag

DWORD

Setting this value to 1, boolean columns will be created for the Bit variable set in the Data Logger/Recipe and not string type columns.

0

General

MaxLengthFlushDBFile

DWORD

When the IMDB is used for the Historical Log, Data Logger or Trace, the size of the flush file, containing data saved when the resource cache reaches its maximum limit, can be set.

In cases where the key is not present, the Flush File (100 Mb) default value will be valid.

Two types of values can be set for the key:

0 = no flushed data will be saved.

>0 = defines the maximum flush file size in  KB (excess recordings will be discarded).

100000kb

 

 

 

See Also