Skip to content
Snippets Groups Projects
Commit 015fa19e authored by Alexandre MALFREYT's avatar Alexandre MALFREYT Committed by Florent LANGLOIS
Browse files

Remove symlinks, update README.md with usage instructions and symlink setup

parent 4c98918e
No related branches found
No related tags found
1 merge request!2Python 3 + améliorations
GEpressCtrlPACE5000/GEpressCtrlPACE5000.py
\ No newline at end of file
GEpressCtrlPACE5000Channel/GEpressCtrlPACE5000Channel.py
\ No newline at end of file
......@@ -23,18 +23,32 @@ The device server requires the following configuration parameters:
## Usage
### Starting the Device Server
### Starting the Device Server (dev)
To start the device server:
```bash
python GEpressCtrlPACE5000.py <instance_name> -v<level>
cd ./GEpressCtrlPACE5000
python ./GEpressCtrlPACE5000.py <instance_name> -v<level>
```
or
```bash
cd ./GEpressCtrlPACE5000Channel
./GEpressCtrlPACE5000Channel <instance_name> -v<level>
```
Where `<instance_name>` is the name of the instance you want to create, and `<level>` is the verbosity level (0-5).
This will start both the main controller and the channel controller devices that are associated with the specified instance name.
> **⚠️ Both devices codes need to be in the same directory, or you can use a symbolic link to point the channel device to the same directory as the main controller device.**
>
> You can create a symbolic link to the channel device in the main controller directory using the following command:
> ```bash
> cd ./GEpressCtrlPACE5000
> ln -s ../GEpressCtrlPACE5000Channel/GEpressCtrlPACE5000Channel.py ./
> ```
### Commands, Attributes, and States
See the provided documentation for [GEpressCtrlPACE5000](./GEpressCtrlPACE5000/doc_html/index.html) and [GEpressCtrlPACE5000Channel](./GEpressCtrlPACE5000Channel/doc_html/index.html)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment