Skip to content

Connecting to Lakeshore 425 by Lakeshore in Python

Instrument Card

Class Connecting To The Lakeshore 425 Gaussmeter

Lakeshore 425

Device Specification: here

Manufacturer card: LAKESHORE

LAKESHORE

Supporting advanced scientific research, Lake Shore is a leading global innovator in measurement and control solutions.

  • Headquarters: Westerville, Ohio, USA
  • Yearly Revenue (millions, USD): 21.4
  • Vendor Website: here

Demo: Record voltage over time with an Agilent 34401A multimeter

Connect to the Lakeshore 425 in Python

PROTOCOLS > SCPI

To connect to a Lake Shore Model 425 Gaussmeter using Pytango, you can use the following code:

import PyTango
# Create a DeviceProxy for the Lake Shore Model 425 Gaussmeter
device_proxy = PyTango.DeviceProxy("device_name")
# Connect to the device
device_proxy.Connect()
# Check if the device is connected
if device_proxy.State() == PyTango.DevState.ON:
print("Device is connected.")
else:
print("Device is not connected.")
# Disconnect from the device
device_proxy.Disconnect()

Replace "device_name" with the actual name of the device in your Tango database.