• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Doc
  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Products
    • Automation Designer
    • HMI Designer
    • CDP Linux
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Framework - Data Logging
  • CDPLogger.LoggerDataSource
  • 5.1.1

CDPLogger.LoggerDataSource

Behaviour

  • Connects to the CDPLogger (or LogServer) holding the data and keeps the connection alive, reconnecting automatically if it drops.
  • Replays history fast: while it is behind the newest recorded data it reads in large time spans to catch up, then switches to small spans to track newly logged samples in near real time.
  • Delivers a clean stream: duplicate and out-of-order rows are filtered out so KPI math is never corrupted, and quiet periods do not stall processing.
  • Reports a failing query for the affected Metric only, so one Metric can flag a problem while the others keep progressing.

Configuration

In normal use the source is added to a MetricsManager through the MetricLoggerDataSource recipe, a LoggerDataSource pre-configured to supply routed CDPLogger historical data and tags for the Metrics defined in the MetricDefinition. The settings are:

  • Routing - the routed path of the CDPLogger or LogServer that holds the data to read.
  • ReadLagSeconds - how far behind "now" data is read, to let the upstream logger settle the most recent rows before they are used for KPI math.
  • Debug - diagnostic verbosity; higher values log more detail about the connection, metadata, and per-sample handling.
  • Address, Port, Connected - read-only status of the resolved logger endpoint and the live connection.

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

My account

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

© Copyright 2026 CDP Technologies. Privacy and cookie policy.

Return to top