Votsch chamber programming
Hem / Teknik & Digitalt / Votsch chamber programming
The python code that opens communication to Vötsch VT4002 is,
Once communication has been established, you can use the following commands to control the climate chamber.
Read out the current temperature measured by the climate chambers temperature sensor and print the result to the console, you can use:
You can also read out the currently set target temperature by using the following command:
If you want to know the status of the climate chamber (ON or OFF), you can get that information with this command:
To enable or disable the climate chamber you can use commands climate_chamber.enable() and climate_chamber.disable().
Now let's assume you want to heat up the chamber to 42.5 °C.
No
File hashes
| Algorithm | Hash digest |
|---|---|
| SHA256 | |
| MD5 | |
| BLAKE2b-256 |
See more details on using hashes here.
.
.
To ensure that the temperature has stabilized, a Python function was defined to wait until the temperature stabilizes to within a specified accuracy for a certain time.Vötsch VT4002 climate chamber
The Vötsch VT4002 climate chamber can simulate environments within a temperature range from -40 °C up to 135 °C. To make programming easier, there is a function in the voetsch-library that does exactly that for you. This can be done by querying the current temperature repeatedly in a while loop until the target temperature is reached.
Keep in mind that (specially on thermal system that are PID controlled) you might have oscillations around the target temperature and it takes some time until the temperature is stable again.
After connecting to the climate chamber you therefore need to set the setpoint temperature and enable the climate chamber.
Copy a direct link to the current filters
File details
Details for the file . The code for such an operation would look like this:
The climate chamber will instantly begin with the heat-up.
It communicates with the climate chamber through an unknown protocol and can be used to control and configure the climate chamber. If you're not sure which to choose, learn more about installing packages. When a new temperature setpoint is given, it takes a while for the temperature to stabilize and often the temperature oscillates around the desired temperature.
There is also a web interface (http://129.27.158.42/simpac) that can be used to set the target temperature and monitor the sensor temperature.
Refer to the Vötsch VT4002 User's Manual for details.
Using Python
The most convenient way to control the climate chamber is using Python. If you have special demands or want to change the PID behavior, refer to the documentation:
SimPati Anleitung (deutsch)
Simpati Simserv Anleitung (de)
SimPati Manual (english)
Simpati Manual (english)
pyVT4002
Download files
Download the file for your platform.
Let's have a look at the following code:
SimPati PC Software
Vötsch offers proprietary software that is shipped with the climate chamber. Make sure that you have installed the requests-package prior to establishing communication (otherwise you will get an error).
To communicate with the climate chamber you need to have the IP address, the username and the password (you will find these information on the front of the climate chamber).
The command climate_chamber.go_to_temperature will block further Python program execution until the target temperature is reached and stable. Only then will the program execution continue.
An example script that uses this function is,
sweep_temperature.py
More details of the VT4002 Python library
The Python library (voetsch.py) uses the requests-package (see here for installation instructions) to interface with the web-server of the climate chamber and provide accessibility to the basic functions.
The PID controller also offers the possibility to run predefined temperature test profiles. If you want your program to wait until a specific temperature is reached, you need to ensure that yourself. This function is,
go_to_temperature(temperature, target_accuracy, settling_time)The program execution is delayed until the temperature stays between (temperature - target_accuracy) °C and (temperature + target_accuracy) °C for at least (settling_time) seconds.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.