Installing the extractor
Install the extractor in an installation directory where the executable file or Python program and dependencies are stored. The extractor can be instantiated in multiple deployments, for instance, one per source system. Each deployment requires a separate working directory to read configuration files, store state, and write logs.You need interactive sign-in permissions to run a task.
Run as a service
The Windows Task Scheduler is an alternative to native Windows services. In this example, we’ll use the Task Scheduler to run the OPC UA extractor executable file as a service.Before you start
Unzip the extractor
Unzip the extractor in an installation directory. For example:
C:\Cognite\opcua-extractor.Create a working directory
Create a working directory for the source system. For example:
AControlSystem.Create a task
Configure the program
In Start a Program, insert the full path to the .exe file in Program/script, and add the working directory in Start in. Enter any command line arguments in Add arguments. For example, for PI extractor version 1.
Open properties dialog
In Summary, select Open the Properties dialog for this task when I click Finish, and then select Finish. Note that you can also modify properties later from the main window.
Configure task settings
On the Settings tab, clear Stop the task if it runs longer than and, optionally, select If the task fails, restart every:.