RecordAnalogue

The RecordAnalogue function of the HistoryFill class is used to record the history of an analogue point.

Parameters

ParameterTypeUsage
AddressstringThe full address of the data point
DatedatetimeThe UTC date/time of the data point
ValuevariesThe value recorded

Example

discrete, analog = history.SplitAddresses()
 
for d in analog:
   #Do work here to determine a time (currenttime) and value (value) for the point...
   history.RecordAnalogue(d,currenttime,value)

See Also

After filling in all of your analog data, you may - depending on your data - choose to call Upsample or Downsample to make your data more useful or improve performance.