inx-www

Queue Buffer Function Blocks

Function Block Friday: Queue Buffers This week, we’re diving into Buffers as Function Blocks. Buffers are essential elements of many robust systems for ensuring actions and data in asynchronous environments are dealt with. Though simple in concept buffers can be deceptively difficult to code robustly and efficiently, especially for memory-constrained applications. Lucid offers a range of buffer types including First-In-First-Out (FIFO), and Last-In-First-Out (LIFO). Queuing buffers are conventionally modelled as push and pop functions, where push adds an element to…

0
Read More

MODBUS Function Blocks

It’s FUNCTION BLOCK FRIDAY! – This week we are looking at MODBUS. One of the most persistent machine-to-machine communications protocols owing to its simplicity and flexibility that is experiencing a renaissance in applications such as heat pumps and solar PV Inverters and remains common in smart buildings, robotics and industrial automation. MODBUS is a standard for machines to exchange simple data formats and signal command and control. It is simple and cheap to provide on any MCU-based systems and is…

0
Read More

State Machines

This week we will be showing off Finite State Machines (FSMs) and how easy and functional they are to build in lucid. Why use a state machine? A state machine is a model representing a system that can be in only one state at a time, transitioning between a finite set of states based on inputs or events. When software is built without clearly modelling system states things generally don’t go well. Visual representation of state and transitions between them…

0
Read More

Calculation Function Blocks

This week, we’re diving into function block Math operations. IoT sensors, controllers or cloud data processing often needs to do some numerical work to make them smart. Lucid makes these operations incredibly straightforward. The most general maths function block allows algebraic expressions to be entered, or you can choose from individual operator function blocks, but let’s start with some simple algebra! Single input single output or multivariate blocks are available, but here we are using a single input value doing…

0
Read More

Graphical UI Function Blocks

It’s week 3 of FBF and we’re looking at User Interfaces for devices. Graphical UIs in Lucid are built from inxware’s widget library that perform well-known user interactions such as displaying and acquiring text or numerical data from users. More advanced widgets include images, shaped objects, video, graphs, animation and even sound. To get started the Hello World application below shows a simple interactive text box app in the Lucid IDE and inxware enabled device simulation in the window below.…

0
Read More

File I/O Function Blocks

Week 2 of the Function Block Friday posts is upon us and this week we are featuring ordinary file read and write blocks. Every programmer will be familiar with how files are accessed programmatically and Lucid does nothing unusual in this respect other than condense many lines of code into a single simple function block. Let’s start with reading data from a file with the simple “File Read Block”. This function block allows you to read data from any file…

0
Read More

MQTT Function Blocks

Introducing 🎉 FUNCTION BLOCK FRIDAY 🎉 To kick off this series on Lucid’s library of function blocks we’re introducing the IoT industry’s favourite device connectivity protocol – MQTT! If you don’t know MQTT, it’s a lightweight publish/subscribe messaging protocol used widely in devices and server messaging. Lucid lets you configure and run secure MQTT connections to your favourite MQTT broker service in just a few seconds and NO CODE. For secure connections, you may need a security certificate from your…

0
Read More

inxware delivers your technology, applications and ideas to your customers quickly!

info@inx-systems.com
Workstation
15 Paternoster Row
Sheffield, South Yorkshire S1 2BX
United Kingdom