MeCom for Python
Project description
MeerTEC -- Python implemenation of the MeCom interface for Meerstetter TECs.
Currently, only communication via ethernet is supported (tested only with Lantronix XPort). Note that only a small subset of MeCom is implemented at this time.
Usage
USB
usb = USB("COM3")
tec = TEC(usb, 0)
XPort
Create a connection to the XPort and pass it as an argument to one of the TECs
xp = XPort('192.168.1.123')
tec3 = TEC(xp, 3)
The commands are implemented as properties. For example the target temperature can be read by simply using
tec3.target_temperature
23.0
tec3.target_temperature = 23.1
Authors
- Bastian Leykauf (https://github.com/bleykauf)
License
MeerTEC -- Python implemenation of the MeCom interface for Meerstetter TECs.
Copyright © 2020-2023 B. Leykauf
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file meer_tec-0.1.0.tar.gz
.
File metadata
- Download URL: meer_tec-0.1.0.tar.gz
- Upload date:
- Size: 45.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29e9e5e2c38f1f652cc10f5a411ff530df5e9b100c1e059f8825806a11a5b744 |
|
MD5 | 299d3a9471971090ea0355e8fa054931 |
|
BLAKE2b-256 | 962dbc3c16da4d0c85c568207a27d3c184d8b8710eda1c5e056d2a73bd50886a |
File details
Details for the file meer_tec-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: meer_tec-0.1.0-py3-none-any.whl
- Upload date:
- Size: 31.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2890e0f09aa0e2b96eb0a1656848ae741d70375f4c1ed8df22abd032cbd37ff |
|
MD5 | 3209d70cb4b50be0aafff1d0dc206dd3 |
|
BLAKE2b-256 | a481667981bc87bba2ee34b3cc2d0494fbb21772e5add48e4019835570d17d46 |