-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"OSError: Could not read from flow controller" when setting setpoints on GP firmware #28
Comments
Hello, thanks for contacting us and sorry to hear you are having problems with your device. Can you confirm that the Setpoint Source is set to |
Hi, thanks for the reply. The Setpoint Source (Menu > Control Setup > Input) is currently set to Serial. |
Hmm, I haven't see this one before, and have never used the serial code directly (I always used an Ethernet/serial gateway). Two further thoughts: Can you try on Python3.9? We've not tested on real devices with 3.10. Can you provide the firmware version? If the device says |
I have just tested with Python 3.9 and got the exact same error. The software version is GP07R102. It also mentions "Date Mfg. 5/14/2012" if that's of any use to you. I'll take a look at the documentations we have and try to compare the commands and registers to your code. I'll keep you updated if I manage to do anything. |
I believe GP is the oldest firmware, so I'm optimistic we've found the underlying problem. The comment I've linked below appears relevant. @marinapalese works for Alicat and there's a chance she can help you with troubleshooting and/or code. I'll happily review/merge any PR if you get that far, but don't have a GP device to investigate myself. Good luck!
Originally posted by @marinapalese in #15 (comment) |
Thanks for the insight. I've managed to find a more recent Alicat for which your library works perfectly (in Python 3.10). If I ever get some time to work on the older one I'll try to prepare a PR. |
Hi @mfeingesicht, the GP firmware is definitely the problem based on my testing. I have a colleague who is working on firmware recognition so we can refactor the library to be more friendly to older firmwares, but it's slow-going. |
While communicating with an Alicat Mass Flow Controller I get the following error when I try to set the flow rate or pressure setpoint :
OSError: Could not read from flow controller.
The complete error message from Python is :I am able to use
get()
andset_gas()
successfully but notset_flow_rate()
orset_pressure()
. This happens both with the 0.3.1 and 0.4.0 versions of the package.The code I currently use is :
The text was updated successfully, but these errors were encountered: