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.
Create a new logging session or open an existing logging session using an LCF (logging configuration file.)
Save the LCF to a public folder. The connection cannot automatically re-establish if the LCF is saved in a private folder.
Open the 'Canary Admin' application. Select the 'Logger' tile.
Type in the file's save path. Use double quotations in the 'Arguments' text field.
Ensure that the Logger is running as a 'Service'.
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.
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.