Guru's Verification engine ensures consistency, confidence, and trust in the knowledge your organization shares. Learn more.

How to Set-up AutoStart for the OPC DA Collector

The logger can be set to automatically re-establish the current session in the event of a temporary OPC Server shutdown or a machine restart.

  1. Create a new logging session or open an existing logging session using an LCF (logging configuration file.)

  2. Save the LCF to a public folder. The connection cannot automatically re-establish if the LCF is saved in a private folder.

  3. Open the 'Canary Admin' application. Select the 'Logger' tile.

  4. Type in the file's save path. Use double quotations in the 'Arguments' text field.

  5. Ensure that the Logger is running as a 'Service'.

image.png

  1. Put a brief delay (30, 60 , or 90 seconds) on the service start up time. Type /delay:30 before typing in the file's save path.

A delay is recommended to prevent the logger service from running before other Canary / OPC Server services run.

  1. Select 'Apply'.

When the CLILogger is registered as a service it will check the following registry entry for command line arguments during startup:

  • x32 bit computer - HKEY_LOCAL_MACHINE\SOFTWARE\Canary Labs\Logger\StartUpCommandLine.

  • x64 bit computer - HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Canary Labs\Logger\StartUpCommandLine.

You must have Author or Collection Owner permission to create Guru Cards. Contact your team's Guru admins to use this template.