Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Historian

Running the Historian Data Importer from a Command Prompt

Running the Historian Data Importer from a Command Prompt

  • Last UpdatedFeb 21, 2025
  • 1 minute read

You can run the Historian Data Importer in console mode from a command prompt to process CSV files.

The following table describes the command line arguments when running the utility in console mode. All the arguments are case-insensitive. The utility returns a 0 or a non-zero integral value, where 0 indicates success and a non-zero value indicates an error code.

Argument

Description

Optional?

Example

-? or -help

Shows the help.

Yes

aahimport.exe -?

aahimport.exe -help

-f

Name of a single CSV file to process.

No

aahimport.exe -f "C:\CSVFiles\201312021201.csv"

-h

Name of the historian node on which the utility is running.

No

aahimport.exe -h HistNode

-e

This is the file encoding type to use. Valid values are: ASCII, UNICODE, or UTF-8.

Yes

aahimport.exe -e ASCII

-fs

Specifies that data should be processed as streamed values.

Yes

aahimport.exe -f "C:\CSVFiles\201312021201.csv" -fs

-u and -p

Administrative security credentials for logging on to the Historian computer.

Yes

aahimport.exe -u "username" -p "password"

-fw

Specifies for the utility to "watch" the folder and process any valid CSV file that is placed there.

Yes

aahimport.exe -fw "C:\CSVFiles" -h HistNode

TitleResults for “How to create a CRG?”Also Available in