Skip to content

Connecting to TopMode by Toptica in Python

Instrument Card

TOPTICA’s TopMode lasers operate as easily as a HeNe, but also offer higher power and the choice of wavelength. The TopMode series sets records in terms of power, coherence and wavelength stability. The proprietary CoHerence-Advanced Regulation Method (CHARM) provides an active stabilization of the lasers’ coherence and ensures continuous single-frequency operation. TopMode and CHARM means nothing less than reliable 24/7 operation.

TopMode

Device Specification: here

Manufacturer card: TOPTICA

TOPTICA

TOPTICA Photonics is a manufacturer of lasers for quantum technologies, biophotonics and material inspection

  • Headquarters: Germany
  • Yearly Revenue (millions, USD): 75
  • Vendor Website: here

Connect to the TopMode in Python

PROTOCOLS > SCPI

To connect to a TopMode laser using Instrumentkit, you can use the following Python script:

from instrumentkit import toptica
# Connect to the TopMode laser
tm = toptica.TopMode.open_serial('/dev/ttyUSB0', 115200)
# Access laser properties
print(tm.laser[0].wavelength)

This script imports the toptica module from Instrumentkit and uses the TopMode.open_serial() method to connect to the TopMode laser using the specified serial port and baud rate. The open_serial() method returns a TopMode object, which can be used to access the properties and methods of the laser.

In this example, the script accesses the wavelength property of the first laser (tm.laser[0].wavelength) and prints its value.