• 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
    • Maritime HMIs
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Framework - Data Logging
  • LogServer
  • 5.0.0

LogWriter Choosing a Datastore

LogServer

Introduction

The LogServer serves Datastore data using the same protocol as CDPLogger's built-in server. Useful to for example publish LogWriter data to Database Graph Widget or ValueLogReader and EventLogReader blocks.

Datastore to Serve

Datastore is the backend used by LogWriter, usually some database. To serve the data from the datastore, copy the configuration from the LogWriter block to the LogServer block.

Properties

PropertyDescription
ServerInterfaceA network interface defined in the application node. The LogServer component will listen on the selected interface. Leave empty to listen on all interfaces.
ServerPortThe port the LogServer listens on. The default is 17000.

Viewing Served Data

There are several options to view logged data through the log server:

  • Using CDP Studio Analyze mode Historic Data functionality which will detect a running CDP Logger or LogServer and connect to it. The Analyze mode can also be used to export the logged data to CSV format.
  • Making your own GUI application that includes Database Graph Widget.
  • Python code can query values from a running CDP Logger or LogServer using the PythonCDPLoggerClient.
  • The ValueLogReader and EventLogReader sequencer blocks can be used to extract and process logged data.

The selected Datastore might provide other custom ways to view logged data. See the manual for the selected datastore to get specific information on that.

Note: CDP does not currently provide any widgets for browsing logged event data (e.g. CDPAlarm Set, Clear and Acknowledge events). Datastore-specific third-party tools must be used. If necessary, use the EventLogReader sequencer block and connect it to a LogWriter block to export event data to a different datastore, for example to CSV - see the example here.

LogWriter Choosing a Datastore

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 2025 CDP Technologies. Privacy and cookie policy.

Return to top