This is my archive

Crosscompile Guide: Libwebsockets API

The Libwebsockets API (“LWS”) covers a lot of interesting features for people making embedded servers or clients: HTTP(S) serving and client operationHTTP/2 support for servingWS(S) serving and client operationHTTP(S) apis for file transfer and uploadHTTP 1 + 2 POST form handling (including multipart / file upload)cookie-based sessionsaccount management (including registration,… Read More

Compile OpenCV for a PLCnext Control

OpenCV (Open Source Computer Vision) is a cross-platform and free-for-use library for use in the emerging field of computer vision, a science on how computers extract information from digital images or videos. It’s about acquiring and processing visual data, and making decisions and performing actions based on the analysis. OpenCV support… Read More

Tracing with LTTng

By using embedded systems (and a PLC is in fact nothing else) it is a vital requirement to analyze the timing behavior of the application (programs and tasks). This is not only useful to enhance the general performance of an application, but absolutely necessary to find seldom and sporadic issues.We… Read More

Configuring OpenVPN on PLCnext Control AXC F 2152

This little guide describes how a VPN tunnel can be created in an easy manner between a server and a client (AXC F 2152) via OpenVPN® by using certificates. Keep in mind that there are several ways of how to configure a VPN tunnel, this examples shows only one possible way… Read More

Create a trusted connection between PC and controller

In this manual it is described how a SCP and SSH connection can be established between a developer machine (Linux, based on How to create a Linux Virtual Machine) and a PLCnext Technology device (like an AXC F 2152). A few basics… Read More

x86 or ARM? Check your cross compilation with “readelf”

Using your own or other cross compiled executables is sometimes not clear documented for which target it was originally compiled. Compiling a Library for the AXC F 2152 means you have to compile it for an ARM architecture.In such situation the tool “readelf” is very helpful and this manual demonstrates… Read More

Network record with TCPdump

With the command “tcpdump” it is possible to capture all the Ethernet communication packets the controller receives and sends.This is a useful feature for analysing network applications and possible misbehaviour of network devices.See also the tutorial video Tutorial Video – WinSCP and a few useful Linux commands… Read More