NodeOPCUA API Documentation
    Preparing search index...

    Interface IVariableHistorian

    interface IVariableHistorian {
        extractDataValues(
            historyReadRawModifiedDetails: ReadRawModifiedDetails,
            maxNumberToExtract: number,
            isReversed: boolean,
            reverseDataValue: boolean,
            callback: (err: Error | null, dataValue?: DataValue[]) => void,
        ): void;
        push(newDataValue: DataValue): Promise<void>;
    }

    Implemented by

    Index

    Methods

    • Extract a series of dataValue from the History database for this value

      Parameters

      • historyReadRawModifiedDetails: ReadRawModifiedDetails
      • maxNumberToExtract: number
      • isReversed: boolean
      • reverseDataValue: boolean
      • callback: (err: Error | null, dataValue?: DataValue[]) => void

      Returns void

    • push a new value into the history for this variable the method should take a very small amount of time and not directly write to the underlying database

      Parameters

      Returns Promise<void>