Connecting to Thermotron 3800 by Thermotron in Python
Instrument Card
The 3800 is a microprocessor-based programmer and controller. The programmer function allows you to program temperature, temperature/humidity, or other types of tests and store them in program memory
Device Specification: here
Manufacturer card: THERMOTRON
Thermotronย is a worldwide temperature chamber, humidity chamber, and vibration testing equipment manufacturer. View our testing equipment today!
- Headquarters: USA
- Yearly Revenue (millions, USD): 89
- Vendor Website: here
Connect to the Thermotron 3800 in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
from pymeasure.adapters import VISAAdapterfrom pymeasure.instruments.thermotron import Thermotron3800
# Create a VISA adapter for communication with the instrumentadapter = VISAAdapter("TCPIP::192.168.1.1::INSTR") # Replace with the actual IP address of the instrument
# Create an instance of the Thermotron3800 instrumentthermotron = Thermotron3800(adapter)
# Connect to the instrumentthermotron.connect()
# Read the instrument identificationid = thermotron.idprint("Instrument ID:", id)
# Read the current temperature of the oventemperature = thermotron.temperatureprint("Temperature:", temperature)
# Get the operating mode of the ovenmode = thermotron.modeprint("Operating Mode:", mode)
# Set the setpoint of the oven to 50 degrees Celsiusthermotron.setpoint = 50
# Start temperature forcingthermotron.run()
# Wait for the oven to reach the setpointwhile thermotron.temperature < thermotron.setpoint: pass
# Stop temperature forcingthermotron.stop()
# Disconnect from the instrumentthermotron.disconnect()
Note: Replace "TCPIP::192.168.1.1::INSTR"
with the actual VISA address of the Thermotron 3800 Temperature Controller.