Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This starts an external program on your Axxon-domain.

Note
titleAttention!

Any software containing a GUI is not recommended to be executed on the Server. If you encounter a problem launching interactive services, please refer to the Windows OS user manual.

...

  1. Allow interaction of the server NGP Host service with the desktop: Start > Control Panel > Administrative Tools > Services  > Net Logon -> Properties - Log on.
    Image RemovedImage Added

    Info
    titleNote

    For Failover Server and Client installation type (see Installation), you have to allow  the NGP RaFT supervisor service to interact with desktop.


  2. Add to folder <Directory where Axxon One is installed>\UserScripts\ one or more . bat files with the application startup command.
    The command should include a path to the executable file.   You You can specify a network path and command-line options (see Starting an external program on Clients).
  3. Select the server where you want to run the program (1).
    Image RemovedImage Added
  4. Select a bat. file with the run command (2).
  5. Enter templates, if they were set via a bat file (3).

    Note
    titleAttention!

    If it is expected that the query result contains spaces and/or some special shell characters (> & | < etc.), then the template should be enclosed in quotation marks (""). For example, "{rectangles}". The entire template string should be enclosed in quotation marks.


Example 1: If you apply the following bat file:

...

executing the macro will lead to the following message:
Image RemovedImage Added

Example 2: Exporting camera connection status events (offline/online) to a csv.bat file containing the following:

...