Startup modes

TC3 IoT Data Agent is automatically installed as a Windows service that runs under the local system context (and is therefore independent of the user account logged in) and starts automatically during system boot.

Startup modes 1:

After starting the TC3 IoT Data Agent, the core application waits for a trigger command to start the communication. The trigger command is usually send via the configurator or the system tray application (see Configurator and System tray). You can also configure an AutoStart option per configuration file by using the graphical configurator tool.

Command line

As an alternative, the TC3 IoT Data Agent can be executed as a standalone application on the Windows command line. To do so, start the TC3 IoT Data Agent executable file (TcIotDataAgent.exe) in the installation directory. You can set different startup options by specifying parameters to the process call, e.g. a path to the configuration file or logging settings. Use the parameter “-h” for a list of all startup options.

Examples:

Process call

Description

TcIotDataAgent.exe

The configuration file TcIotDataAgentConfig.xml from the default config directory %TC_BOOTDIR% is used. Waits for a trigger command to start the communication.

TcIotDataAgent.exe -a

Starts the communication after startup automatically. Takes the config file automatically from %TC_BOOTDIR%.

TcIotDataAgent.exe -c PathToConfig

Specifies the configuration file to be used. Waits for a trigger command to start the communication.

TcIotDataAgent.exe -a -c PathToConfig

Specifies the configuration file to be used. Starts the communication automatically without waiting for a trigger command.

TcIotDataAgent.exe -l VERBOSE

The configuration file is retrieved from the TwinCAT boot directory and logging is activated in verbose mode. The Windows command line is used as log output.

TcIotDataAgent.exe -l VERBOSE -o PathToFile

The configuration file is retrieved from the TwinCAT boot directory and logging is activated in verbose mode. A file is used as log output.