LucidIoT Network I/O Module for Analog and Digital IO
LucidIoT Secure IoT Network I/O Module
  • 16 analog and digital IO channels
  • HTTPS, Modbus TCP/IP, MQTT, FTP
  • SSL/TLS secured
  • Data logging function
  • Compatible with LucidControl software
  • DIN-Rail enclosure
Read More ...
  • Multi-Protocol
USB Analog and Digital IO Modules

LucidControl USB IO Modules

  • Data acquisition and control
  • Cost effective and flexible
  • Platform independent
  • Windows® and Linux
  • Compatible with Raspberry Pi
  • Clippable on DIN-Rail
Read More ...
  • Industrial & home automation
LucidControl USB Digital I/O - Input Output Module

USB Digital Input Output Module

Read More ...

LucidControl Product Series

  • 4 insulated digital input channels
  • Counters, filters, edge detectors
  • Pulse width modulation and timers
  • 4 solid-state-relay output channels
USB Digital Input Module

USB Digital Input Module

LucidControl Product Series

  • 4 / 8 digital input channels
  • For 5V, 10V and 24V signals
  • Opto insulated contacts
  • Counters and edge detectors
Read More ...
USB Digital Output Module

USB Digital Output Module

LucidControl Product Series

  • Opto insulated option
  • 4 / 8 digital output channels
  • Relay module option
  • Pulse width modulation and timers
Read More ...
  • Switching and power control
USB RTD Input Module Pt100, Pt1000

USB Analog Input Module

LucidControl Product Series

  • Measurement range options
  • 4 / 8 analog input channels
  • e.g. 0-10 V or 0-20mA
  • 14 bit resolution
Read More ...
  • Acquisition of sensor signals
USB Analog Output Module

USB Analog Output Module

LucidControl Product Series

  • 4 analog output channels
  • Output range options
  • e.g. 0 - 10 V or 4 - 20 mA
  • 12 bit resolution
Read More ...
  • 4 - 20 mA current interfaces
USB RTD Input Module Pt100, Pt1000

USB RTD Input Module

LucidControl Product Series

  • 4 / 8 Pt1000 / Pt100 RTD channels
  • Temperature range: +/- 180 °C, 360 °C
  • 0.1 °C resolution
  • Heat control applications
Read More ...
  • Logging of temperatures

Data Logging Service Configuration

LucidIoT Data Logging Function of I/O Controller

The LucidIoT network I/O module is able to transmit I/O values via MQTT, Modbus TCP/IP or the JSON protocol.

The data logging service can also write I/O values and system values to the file system. If data logging and at least one log value entry are enabled, recording starts with configurable interval.

The data logging service can be helpful when LucidIoT is used without network connection.

The picture shows the configuration web page of data logging function.

The Log Interval specifies the time between two log events. The interval is configured in 1/10 s (10 -> 1 s interval). A log event generates a new data row.

The Separator defines the character dividing columns inside a data row.

The State provides information about the operation condition of the data logging service and the module state.

Clicking the Save button updates the settings.

Data Logging Value Configuration

The I/O logging function periodically logs up to 16 configurable values (Value 0 – 15).

If a value is enabled, it is processed.

A Name gives a descriptive name which is added to the header row of the log file.

Value Id links the log value with the I/O channel value.

The Format setting configures how values are represented in the log file. It specifies e.g. the precision of a logged value.

Data Logfiles

The data logging service creates one data log file per day. When the system date changes, the current data log file is closed and a new file is created becoming the active data log file.

The function creates sub-folders for each year and month. A data log file has the filename pattern YYYYMMDD.log. it is stored in the folder /log/YYYY/MM/.

In these cases, the function writes the header row to the data log file:

  • A new data log file is created.
  • On a system restart when an existing data log file is opened
  • Change of data logging value configuration

A data row starts with a time stamp column followed by the enabled log values.

The service uses the local time zone and formats the time stamp in the format YYYY-MM-DD HH:MM:SS using 24 hours format.

Data log files with semicolon separation character are stored in CSV format which is compatible with most spreadsheet applications.

Example of a data log file

File location: /log/2021/01/20210101.log

Time;DigitalInSwitch;RoomTemp

2021-01-01 00:00:00;0;20.0
2021-01-01 00:00:01;0;20.1
2021-01-01 00:00:02;0;20.0
2021-01-01 00:00:03;1;19.9
2021-01-01 00:00:04;1;20.0

The file starts with the header row. It contains the mandatory time stamp and the names of two active log values DigitalInSwitch and RoomTemp separated by a semicolon separation character.

The subsequent data log rows consist of the time stamp (one log event per second) and the data log values.