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

AVEVA™ Measurement Advisor

Command line arguments associated with file import

  • Last UpdatedJul 25, 2025
  • 2 minute read

There are a number of arguments associated with the MeasFileImport tool. They allow you to run tasks and stipulate the rules for how the MeasFileImport task should be performed.

Note: You need to install and configure the MeasDataProtector setup prior to using file import.

Consider the following example of how individual arguments may be issued together on the command line:

MeasFileImport.exe -T ALARM_PARSE_COMPLETE_OFF -S <DATABASE> -v 3 -s 120

Note: Before running any of these arguments, you will need to navigate to the bin directory where the software is installed ($env:DNAInstallRoot\MeasurementAdvisor\bin) to ensure you are in the right location.

Argument

Use case

-h

Display basic information about the command line arguments.

-v

Defines the level of debug information associated with the arguments.

  • 0. Error messages will be displayed.

  • 1. Minor - Provides error and warning information.

  • 2. Major - Provides information about errors, warnings, and informational messages.

  • 3. Verbose - Provides the information supplied by the 0-2 debug levels, in addition to some more detailed information.

-d

Provide the database where the file import information is stored. This defaults to EFM and does not need to be specified.

-S

  1. Provide the connection information that will allow you to access the database. Run the following commands:

    cd $env:DNAInstallRoot\MeasurementAdvisor\bin

    MeasFileImport.exe -T <File Import Task Name> -S CLOUDDB

-t

Provides a time period after which any query run during the operation will timeout.

-T

Provides the name of the file import task you wish to run to import the associated files. This is a required argument. You may enter the task names individually, or you may enter MeasFileImport.exe -T ALL to run all of the File Import tasks listed in the File Import Summary window.

If the file name contains spaces, then the file name entered must be wrapped in double quotes.

-r

Running the File Import task with the -r option imports the files without maintaining a record of the fact that it was retrieved. This means that there will be no audit trail recorded.

-c

Overrides the default retrieval criteria for the File Import task. Rather than being time based, it will gather all file import tasks meeting the criteria.

-l

Delete the archived files that exceed the retention period, while simultaneously performing the File Import task.

-L

Delete the archived files that exceed the retention period, without performing the File Import task.

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