NodeOPCUA API Documentation
    Preparing search index...

    Interface ClientSessionReadHistoryService

    interface ClientSessionReadHistoryService {
        historyRead(
            request: HistoryReadRequest,
            callback: Callback<HistoryReadResponse>,
        ): void;
        historyRead(request: HistoryReadRequest): Promise<HistoryReadResponse>;
        readAggregateValue(
            nodesToRead: HistoryReadValueIdOptions[],
            startTime: DateTime,
            endTime: DateTime,
            aggregateFn: AggregateFunction[],
            processingInterval: number,
            callback: Callback<HistoryReadResult[]>,
        ): void;
        readAggregateValue(
            nodesToRead: HistoryReadValueIdOptions[],
            startTime: DateTime,
            endTime: DateTime,
            aggregateFn: AggregateFunction[],
            processingInterval: number,
        ): Promise<HistoryReadResult[]>;
        readAggregateValue(
            nodeToRead: HistoryReadValueIdOptions,
            startTime: DateTime,
            endTime: DateTime,
            aggregateFn: AggregateFunction,
            processingInterval: number,
            callback: Callback<HistoryReadResult>,
        ): void;
        readAggregateValue(
            nodeToRead: HistoryReadValueIdOptions,
            startTime: DateTime,
            endTime: DateTime,
            aggregateFn: AggregateFunction,
            processingInterval: number,
        ): Promise<HistoryReadResult>;
        readAggregateValue(
            nodesToRead: HistoryReadValueIdOptions[],
            startTime: DateTime,
            endTime: DateTime,
            aggregateFn: AggregateFunction[],
            processingInterval: number,
            aggregateConfiguration: AggregateConfigurationOptions,
            callback: Callback<HistoryReadResult[]>,
        ): void;
        readAggregateValue(
            nodesToRead: HistoryReadValueIdOptions[],
            startTime: DateTime,
            endTime: DateTime,
            aggregateFn: AggregateFunction[],
            processingInterval: number,
            aggregateConfiguration: AggregateConfigurationOptions,
        ): Promise<HistoryReadResult[]>;
        readAggregateValue(
            nodeToRead: HistoryReadValueIdOptions,
            startTime: DateTime,
            endTime: DateTime,
            aggregateFn: AggregateFunction,
            processingInterval: number,
            aggregateConfiguration: AggregateConfigurationOptions,
            callback: Callback<HistoryReadResult>,
        ): void;
        readAggregateValue(
            nodeToRead: HistoryReadValueIdOptions,
            startTime: DateTime,
            endTime: DateTime,
            aggregateFn: AggregateFunction,
            processingInterval: number,
            aggregateConfiguration: AggregateConfigurationOptions,
        ): Promise<HistoryReadResult>;
        readHistoryValue(
            nodesToRead: NodeIdLike[] | HistoryReadValueIdOptions2[],
            start: DateTime,
            end: DateTime,
            callback: (err: Error | null, results?: HistoryReadResult[]) => void,
        ): void;
        readHistoryValue(
            nodesToRead: NodeIdLike[] | HistoryReadValueIdOptions2[],
            start: DateTime,
            end: DateTime,
            options: ExtraReadHistoryValueParameters | undefined,
            callback: (err: Error | null, results?: HistoryReadResult[]) => void,
        ): void;
        readHistoryValue(
            nodesToRead: NodeIdLike[] | HistoryReadValueIdOptions2[],
            start: DateTime,
            end: DateTime,
            options?: ExtraReadHistoryValueParameters,
        ): Promise<HistoryReadResult[]>;
        readHistoryValue(
            nodeToRead: NodeIdLike | HistoryReadValueIdOptions2,
            start: DateTime,
            end: DateTime,
            callback: (err: Error | null, result?: HistoryReadResult) => void,
        ): void;
        readHistoryValue(
            nodeToRead: NodeIdLike | HistoryReadValueIdOptions2,
            start: DateTime,
            end: DateTime,
            options: ExtraReadHistoryValueParameters | undefined,
            callback: (err: Error | null, result?: HistoryReadResult) => void,
        ): void;
        readHistoryValue(
            nodeToRead: NodeIdLike | HistoryReadValueIdOptions2,
            start: DateTime,
            end: DateTime,
            options?: ExtraReadHistoryValueParameters,
        ): Promise<HistoryReadResult>;
    }

    Hierarchy (View Summary)

    Index

    Methods