flow_control: configuration documentation

This commit is contained in:
Markus Rosenstihl 2016-02-18 19:53:57 +00:00
parent c8f1ce0b82
commit f86bda3566

View File

@ -193,6 +193,23 @@ if __name__ == "__main__":
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')
if os.path.exists(conf):