2 releases

0.1.1 Oct 10, 2024
0.1.0 Oct 10, 2024

#108 in Embedded development

Download history 350/week @ 2024-10-10 9/week @ 2024-10-17

359 downloads per month

Apache-2.0

19KB
246 lines

EVA ICS v4 Local Service Launcher

Local service launcher for EVA ICS v4 industrial automation platform.

Allows to run and test EVA ICS services locally.

More info about EVA ICS Rust SDK: https://info.bma.ai/en/actual/eva4/sdk/rust/index.html

Installation

cargo install eva-lsl

Usage

Creating a basic service

eva-lsl new myservice

See also: https://info.bma.ai/en/actual/eva4/sdk/rust/service_example.html

Testing a service

  • Deploy the service configuration to a EVA ICS node. The service can be disabled and point to any non-existing command.

  • Allow remote connections to the node (eva edit config/bus). If a node is installed on the same machine, skip this step.

  • Inside a Rust service project, run:

eva-lsl run -b IP:PORT SVC_ID

(for a local node but non-standard path, specify path to bus.ipc)

The command builds the service and run it locally, connecting to the node bus. Log messages are printed to the local console.

The command can also override, the service bus id, user, data path etc. Check other options with eva-lsl --help.

Dependencies

~21–56MB
~1M SLoC