The Logger tile provides easy setup to autostart log sessions either as a service or using a shortcut in the Startup folder.
Configuration
Configuration
Run As: - Drop down list of how the process should run.
Service - Registers CLILogger.exe as a service set to automatic and starts it. If arguments are configured they will be executed on startup.
Interactive User - The CLILogger.exe will run using the credentials of the current user. If arguments are configured they will be added to a shortcut for CLIHistStart.exe and placed the Startup folder to be executed at logon.
Arguments: - Command line parameters to be executed by the service or interactive process.
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.
When the CLILogger is registered as Interactive User the command line arguments are added to a shortcut for CLIHistStart.exe and placed in the Startup folder to be executed at logon.
Example:
/delay:30 "C:\Historian DataSample Data.lcf"
For additional log sessions, as long as the lcf files are in the same directory all you need is the .lcf filename (in double quotes if it has a space). Otherwise, you would need the full path to each .lcf (in double quotes if it has a space).
Example:
/delay:30 "C:\Historian Data\Sample Data.lcf" SampleData2.lcf "My Data.lcf"
Remarks:
Anytime the CLILogger running as a service is restarted it will execute any command line parameters entered in the registry. From the Services tile of the Canary Admin you can stop and restart the Canary Logger Service to check the operation of command line arguments.
Comments
0 comments
Article is closed for comments.