42
DAQ Missions
Leading
EDGE COMPUTING
4.1.4
Passive Data
The conventional message exchange pattern of the MCM-204 for
Periodic Polling and Continuous Data modes is request-response,
with the MCM-204 serving as responder. After receiving a query
from the host, the MCM-204 responds with the requested data.
However, for some applications it’s desirable for the host server to
passively wait for data from the client. In such cases, a TCP
socket function can instruct the MCM-204 to automatically send
data to the host server whenever data is generated. See “TCP
Socket” on page 31.
4.2
Custom Filtering Algorithms
The MCM-204 offers flexible support options for custom filtering
algorithms. Users can easily import their own domain-knowledge
algorithms to the MCM-204. Custom filtering algorithms must be
written in C or C++ and compiled under Linux.
Use the following steps to create a custom filtering algorithm.
1. Download and extract the Linux toolchain:
https://releases.linaro.org/components/toolchain/
binaries/6.2-2016.11/arm-linux-gnueabihf/
gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz
2. Download CustomizedAlgo.zip from the MCM-204 web
page and extract the CalStatistic (C++) and CalRMS (C)
sample program folders.
https://www.adlinktech.com/Products/IoT_solutions/
Smart_Factory/MCM-204
3. Place the extracted CalRMS and Linux toolchain folders
in the same file path.
Summary of Contents for MCM-204
Page 8: ...viii List of Figures Leading EDGE COMPUTING This page intentionally left blank ...
Page 15: ...Introduction 7 MCM 204 Figure 1 2 Top View 111 65 40 Units mm ...
Page 16: ...8 Introduction Leading EDGE COMPUTING Figure 1 3 Left Side View 111 65 126 5 Units mm ...
Page 17: ...Introduction 9 MCM 204 Figure 1 4 Right Side View 111 65 126 5 Units mm ...
Page 20: ...12 Introduction Leading EDGE COMPUTING Figure 1 7 Wall Mount Assembly ...
Page 28: ...20 Getting Started Leading EDGE COMPUTING This page intentionally left blank ...
Page 46: ...38 Web Console Leading EDGE COMPUTING This page intentionally left blank ...