Calculated Inputs can be used to create custom VB.NET scripts for advance data manipulation.
Calculated Inputs V2 is an upgrade to Calculated Input V1. Scripts are not compatible between the two versions.
Reference an input from current site
Use syntax - Inputs.<inputname>.Value
Reference an input from another site
Use syntax - Outposts.<sitename>.Inputs.<inputname>.Value
Input Class
Public
Class
Input
Public
Value
As
Double
'value of the current data point
Public
LogTime
As
Date
'datetime of the current data point
Public
PreviousValue
As
Double
?
'the first value before the current data point (Value). It can only be null when the current value is the very first data point of the input
Public
PreviousLogTime
As
Date
?
'see above
End
Class
For other examples, see Calculated Input V2 Examples