Skip to content

Command line shell interface to the Tango scada

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
LICENSE.txt
Notifications You must be signed in to change notification settings

MartinMohan/scadat

Repository files navigation

Command line interface to Tango

scadat -h

Usage: [-h] [-v] [-t T] [ -l | -r R [R ...] | -a A [A] | -c C [C] | -p P [P]]

Command line interface to TANGO_HOST. (default: export TANGO_HOST=localhost:10000)

optional arguments: -h show this help message and exit -v increase verbosity using -v,-vv,-vvv -l List tango devices -r R [R...] Read attributes,commands and properties for devices: e.g. scadat -r sys/tg_test/1 -a A [A] Write attributes: e.g. scadat -a sys/tg_test/1/string_scalar 'hello world' -c C [C] Write commands: e.g. scadat -c sys/tg_test/1/DevLong 1234 -p P [P] Write properties: e.g. scadat -p sys/tg_test/1/myproperty test

Install Tango on debian or ubuntu

apt install mariadb-server

vi /etc/mysql/my.cnf [client] user=mysqluser password=mysqlpass

apt install tango-db tango-test python-pytango

Install scadat

git clone https://github.com/martinmohan/scadat cd scadat ./scadat -h

Test

cd test
./scadat_test.sh

A sample server is available at Simulator

./docs/clients.png

About

Command line shell interface to the Tango scada

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published