Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
DIOT reliability studies project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
DIOT reliability studies project
Commits
0fcee207
Commit
0fcee207
authored
Mar 22, 2022
by
Alén Arias Vázquez
😎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added help
parent
4154b0f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
README.md
cpx400dp/README.md
+21
-2
No files found.
cpx400dp/README.md
View file @
0fcee207
...
...
@@ -5,6 +5,25 @@
python class to control remotely the power supply bia USB
## How to use it
'''
console
```
console
python3 cpx400dp -h
'''
```
the help menu is shown below:
```
bash
usage: cpx400dp.py
[
-h
]
[
--device
DEVICE]
[
--baudrate
BAUDRATE]
[
--chan
CHAN]
[
--volts
VOLTS]
[
--amps
AMPS]
[
--powerup
]
Control CPX400DP from USB
optional arguments:
-h
,
--help
show this
help
message and
exit
--device
DEVICE,
-D
DEVICE
Linux device name
(
default: /dev/tty_CPX
)
--baudrate
BAUDRATE,
-b
BAUDRATE
Serial baudrate
(
default: 115200
)
--chan
CHAN,
-C
CHAN Channel selector
(
default: 1
)
--volts
VOLTS,
-V
VOLTS
Volts
(
default: 12.0
)
--amps
AMPS,
-A
AMPS Amps
(
default: 0.2
)
--powerup
Switch On requested channel with requested values
(
default: False
)
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment