Skip to content
Snippets Groups Projects
Commit 599e991d authored by Paulus Kruger's avatar Paulus Kruger
Browse files

Merge branch 'master' of https://git.astron.nl/lofar2.0/pypcc

parents 729bff3f e21f49ce
No related branches found
No related tags found
No related merge requests found
# PyPCC # PyPCC
Python OPC-UA server to control the I2C devices in the LTS. Python OPC-UA server to control the I2C devices in the LTS.
...@@ -34,21 +33,23 @@ python3 -m pip install -r requirements.txt ...@@ -34,21 +33,23 @@ python3 -m pip install -r requirements.txt
# Execute it # Execute it
The software can be simply executed with Python3: `python3 pypcc2.py -c RCY,CLK,UNB2` The software can be simply executed with Python3: `python3 pypcc2.py -c RCU,CLK,UNB2`
Optional parameters are explained when the `-h` or `--help` parameter is supplied: Optional parameters are explained when the `-h` or `--help` parameter is supplied:
```bash ```bash
python3 pypcc2.py --help python3 pypcc2.py --help
cryptography is not installed, use of crypto disabled usage: pypcc2.py [-h] [-s] [-t] [-p PORT] [-l {DEBUG,INFO,WARNING,ERROR}] [-c CONFIG]
cryptography is not installed, use of crypto disabled
usage: pypcc2.py [-h] [-s] [--no-lib-hack] [-p PORT]
optional arguments: optional arguments:
-h, --help show this help message and exit -h, --help show this help message and exit
-s, --simulator Do not connect to I2c, but simulate behaviour. -s, --simulator Do not connect to I2c, but simulate behaviour.
-t, --test Do not start OPC-UA server.
-p PORT, --port PORT Port number to listen on [4842]. -p PORT, --port PORT Port number to listen on [4842].
-c .. -l {DEBUG,INFO,WARNING,ERROR}, --loglevel {DEBUG,INFO,WARNING,ERROR}
-t ... Log level [INFO].
-c CONFIG, --config CONFIG
YAML config files, comma seperated [RCU]
``` ```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment