flow_control: configuration documentation
This commit is contained in:
parent
c8f1ce0b82
commit
f86bda3566
@ -193,6 +193,23 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
Several parameters are printed on every execution
|
Several parameters are printed on every execution
|
||||||
|
|
||||||
|
The default serial device is /dev/ttyUSB0. If oyu wnat to change that create a
|
||||||
|
file calle "~/.flow" with the first line containing an alternate path, i.e. /dev/ttyUSB1
|
||||||
|
|
||||||
|
Sample output:
|
||||||
|
|
||||||
|
user@pfg # flow
|
||||||
|
Device: GSCC9SA
|
||||||
|
Medium: N2B
|
||||||
|
Current Flow: 0.00
|
||||||
|
Current Set Flow: 0.00
|
||||||
|
Flow Unit: ln/min
|
||||||
|
Total Gas: 0.00
|
||||||
|
Total Unit: lnF
|
||||||
|
Current Temperature: 22.38 C
|
||||||
|
Alarm: 0
|
||||||
|
HW Error: 0
|
||||||
|
|
||||||
"""
|
"""
|
||||||
conf = os.path.expanduser('~/.flow')
|
conf = os.path.expanduser('~/.flow')
|
||||||
if os.path.exists(conf):
|
if os.path.exists(conf):
|
||||||
|
Loading…
Reference in New Issue
Block a user