Export/Import Virtual Variables

The Export/Import feature of Virtual Variables allows users to update multiple equations quickly. 

The format of the file needs to be exactly the same as the Exported file format is. Best Practice is to Export the Virtual Variables needed, update them and import again.


1) Use the filter to find one or more Virtual Variables to Export and click the Export button in top right corner

Make a backup of the Exported File to use in case if something happens

2) Open the file in a text editor


Calculation ID: ID of the calculation in the database. If empty then a new VV will be created. Do not change the ID if updating the VV.
Station: Name of the station that the VV belongs to
Station ID: ID of the station the VDV belongs to (do not change)
Variable: The name of the Variable

Time Variable options
Time Variable: 0 means it is not a Time Variable and 1 means it is a Time Variable
Starting From: Time Stamp form when the Equation should be active from (only for Time Variables)
Time Variable Link ID: All Time Variables are linked to the first equation (only for Time Variables)

Unit Options
Unit: Name of the unit
Unit ID: ID of the unit

Formula
Formula: Shows the formula. This can be modified as needed.

RoC Options
RoC Active: Rate of Change calculations. 1 means it is active.
RoC Precision: Number of Decimal points shown in RoC calculations
RoC Interval Value: The value for Interval input filed
RoC Interval Type: Number of Seconds between readings for RoC calculations. 86400 for 1 day, 3600 for 1 hour.
RoC Unit Value: The value for Unit input field
RoC Unit Type: The number of Seconds for the unit.

Datum Options
Datum Variable ID: ID of the Datum Variable
Datum Timestamp: Timestamp of the Datum Reading
Datum Information: Comments about the Datum Reading

Constants
Constants: Constants to be used in the equation. Separated with |   ( Example:  a=20|b=30|c=40 )