Connecting to Jumoquantrollc by Jumo in Python
Instrument Card
Control Of The Jumo Quantrol Lc100/Lc200/Lc300, Universal Pid Controller
Device Specification: here
Manufacturer card: JUMO
JUMO is your expert partner and manufacturer for industrial sensor technology up to the automation solution for temperature, pressure, and liquids.
- Headquarters: Canada
- Yearly Revenue (millions, USD): 69
- Vendor Website: here
Connect to the Jumoquantrollc in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
In this script, we first import the PyTango
module. Then, we define the Tango device name for the Jumoquantrollc Temperature Controller. This device name is in the format tango://<host>:<port>/<device>
, where <host>
is the hostname or IP address of the Tango server, <port>
is the port number of the Tango server, and <device>
is the device name.
Next, we create a Tango device proxy using the PyTango.DeviceProxy()
function and pass in the device name. This proxy allows us to interact with the Jumoquantrollc Temperature Controller.
We then use the read_attribute()
method of the device proxy to read the current temperature attribute of the device. The attribute name is specified as a string, in this case, “Temperature”. The read_attribute()
method returns a PyTango.AttributeValue
object, from which we extract the value using the value
attribute.
Finally, we print the current temperature using the print()
function.
Note: Make sure to replace the device_name
variable with the actual Tango device name of your Jumoquantrollc Temperature Controller.