eva-lsl

Crates.ioeva-lsl
lib.rseva-lsl
version0.1.2
sourcesrc
created_at2024-10-10 02:25:18.41777
updated_at2024-11-23 18:12:04.149389
descriptionEVA ICS v4 local service launcher
homepage
repositoryhttps://github.com/eva-ics/eva4
max_upload_size
id1403376
size72,454
Sergiy S. (divi255)

documentation

README

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.

Use --watch (or -w) to automatically rebuild the service on source code changes.

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

Commit count: 1328

cargo fmt