Skip to main content
Skip table of contents

MultiRec: How to enable MultiRec logging?

Firstly, the application which uses the MultiRec has to support this feature.

In this example I will explain how to enable the MultiRec logging for DBM:

Open the DigaSystem Administrator and go to Section "\Local Settings\DBM\MultiRec" and create a new String - Parameter "Logging".

Possible values are [DIRECTORY]..., [FILENAME]..., [TYPE]..., [DELETEOLD]... and [DELETEDAYS].... (always use UPPER CASE for these parameter names!)

  • [DIRECTORY]: The folder in which the logfile will be stored (e.g. C:\Digas\Log).
  • [FILENAME]: A name for that file (e.g. MultiRec) - the file extension will be added automatically.
  • [TYPE]: Decides, which action should be logged. Possible Strings are
    GLOBAL (Global messages, e.g. initialisation, loading of the control etc.).
    EVENTS (all messages and commands that a main application receives from the MultiRec).
    METHODS (all function calls that the MultiRec receives from the main application).
    FILEACCESS (Filesystem accesses).
    DEBUG (Debug messages - use only if you expect Errors).
    ALL (activates all of them).
    It is also possible to combine these parameters. If needed, seperate them with a pipe "|"
  • [DELETEOLD]: Can be TRUE or FALSE. Decides if a new file will be created or a available one will be overwritten.
  • [DELETEDAYS]: Delete old logfiles after n Days. (e.g. 30).


Example for this Parameter:

Code:
Global (Local) Settings
|
|- DBM
    |
    |- MultiRec
        |
        |- Logging = [DIRECTORY]C:\Digas\Log[FILENAME]MR_DBM[TYPE]DEBUG[DELETEOLD]TRUE[DELETEDAYS]30

  
If you need to activate the MultiRec Logging for MultiCoder This must be done in the windows registry;

Key:
HKEY_LOCAL_MACHINE\SOFTWARE\David\MultiCoderV2\DeviceID1\General

Registry Parameter:
MultiRecLogParameters=[DIRECTORY]C:\Digas\Log[FILENAME]MREC_MC_[TYPE]ALL[DELETEOLD]TRUE[DELETEDAYS]30

Basically the elements of the string can be defined the same as in Digas Admin.
Please be sure to adjust for the appropriate DeviceID number that you wish to log!

Also; Make sure to use UPPER CASE for all the parameters in the string as seem above, otherwise the logging will not work - the activation of the MultiRec logging is in fact CASE SENSITIVE!
 

You can also use this Parameter to enable MultiRec Logging for DigAIRange:

Open the DigaSystem Administrator and go to Section "\Local Settings\DigAIRange\MultiRec" and create a new String - Parameter "Logging".

Possible values are [DIRECTORY]..., [FILENAME]..., [TYPE]..., [DELETEOLD]... and [DELETEDAYS]....

  • [DIRECTORY]: The folder in which the logfile will be stored (e.g. C:\Digas\Log).
  • [FILENAME]: A name for that file (e.g. MultiRec) - the file extension will be added automatically.
  • [TYPE]: Decides, which action should be logged. Possible Strings are
    GLOBAL (Global messages, e.g. initialisation, loading of the control etc.).
    EVENTS (all messages and commands that a main application receives from the MultiRec).
    METHODS (all function calls that the MultiRec receives from the main application).
    FILEACCESS (Filesystem accesses).
    DEBUG (Debug messages - use only if you expect Errors).
    ALL (activates all of them).
    It is also possible to combine these parameters. If needed, seperate them with a pipe "|"
  • [DELETEOLD]: Can be TRUE or FALSE. Decides if a new file will be created or a available one will be overwritten.
  • [DELETEDAYS]: Delete old logfiles after n Days. (e.g. 30).


Example for this Parameter:

Code:
Global (Local) Settings
|
|- DigAIRange
    |
    |- MultiRec
        |
        |- Logging = [DIRECTORY]C:\Digas\Log[FILENAME]MR_Range[TYPE]DEBUG[DELETEOLD]TRUE[DELETEDAYS]30



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.