Skip to main content

Interface to the Verdi laser

Project description

Overview

This package can be used to drive a Verdi laser using RS232

Installation

  • You need to connect the verdi laser to the computer using a RS232 port or a USB to RS232 converter.

  • Identify the serial port on which the laser is connected (‘COM..’ on windows, ‘/dev/…’ on linux).

  • You need to have the pyserial package installed.

Usage

from PyCoherentVerdi import VerdiDriver
verdi = VerdiDriver(port='COM7')
print verdi.power # print the measured power
print verdi.set_power # print the set power
verdi.set_power = 15.6 # set the power to 15.6 watts

verdi.list_cmd(['power', 'baseplate_temperature']) # Returns a dictionary with the values of the parameters in the list
verdi.read_all_parameters() # Returns a dictionary with the values of all the parameters

Contact

Please send bug reports or feedback to Pierre Clade.

Version history

Main changes:

  • 0.2 Initial relase

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyCoherentVerdi-0.2.tar.gz (5.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page