From 12:00 AM CDT Sunday, October 17 - 11:30 AM CDT Sunday, October 17, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Changing Measurement Type Units to Metric

Last Modified: August 30, 2021

Change the measurement type units to metric.

Complete the following steps to switch to metric units.
  1. Open a command prompt on the server machine and change to the following directory:
    <InstallDrive>:\Program Files\National Instruments\InsightCM Server 3.0\
  2. Run the following command:
    InsightCMConsole.exe importdefinition -t unit -f "<InstallDrive>:\Program Files\National Instruments\InsightCM Server 3.0\Definitions\UnitDefinitions\MetricUnits.json
  3. Check that the command prompt reports "Success:".
  4. Run the following command:
    InsightCMConsole.exe exportdefinition -t asset -n <sensor name> -o <full path to output definition file>
  5. Open the definition file using a text editor.
  6. Find the property definition where the key value is Unit and change the value of DefaultValue to the appropriate metric unit.
  7. Save the file and run the following command:
    InsightCMConsole.exe importdefinition -t asset -f "<fullpath to definition file>
  8. Repeat steps 4 through 7 for each sensor definition you want to update.

Recently Viewed Topics