LMCAT: install serial server to export com using rfc2217 to control bronkhorst and other devices
look at pyserial server examples, there is a nice rfc2217_server.py code to run a server on COM port to network tcp/ip port talking rfc2217 protocol. To be tested.
Just need to clone github.com/pyserial/pyserial project and install example/rfc2217_server.py using the py2exe script setup-rfc2217_server-py2exe.py.
Of course do not forget to install pyserial in a conda environment and pip install py2exe if you want to create a exe file.
https://pyserial.readthedocs.io/en/latest/examples.html#single-port-tcp-ip-serial-bridge-rfc-2217
-
create a new env for running the pyserial rfc2217_server -
create shortcut to run in a terminal servers for COM1 and COM2 -
test from bliss session the comm. with the 2 rfc2217 servers -
test the bliss bronkhorst controller (no yet available, codes on BM23 and ID26) -
develop new controllers for the other LMCAT devices
Edited by Laurent Claustre