Example Code

Driver VIs for Innolight Mephisto S Laser Line

Code and Documents

Attachment

Overview

 

This software (written by student and faculty laser end users at Cal State Fullerton) allows automation of the basic functions of the Innolight Mephisto S Laser Line.

 

Description

 

 

 

This software was written to control the Innolight Mephisto S Product Line lasers. It has only been tested on the specific laser Mephisto S500. It was designed to allow automation of simple commands (laser on/off, laser current up/down, and polling of laser state information). Normally, control of the laser is done by executing these commands on the command line via serial cable and a program such as Putty. We have implemented several sub-VIs to accomplish the same task (which you can use to build your own VI) and provided an overall example VI (Mephisto_S_Laser_Control.vi) that shows an example of how these can be combined into one controller VI.

 

 

mephisto-vi.png

Steps to Implement or Execute Code

  1. Satisfy the requirements below (Innolight laser hooked up via serial to USB port to PC, labview, etc).
  2. Wear appropriate laser eyewear.
  3. Turn on the hardware laser switch key to the "ON" position before starting the VI.
  4. Download the .zip file below, unzip.
  5. Open the Mephisto_S_Laser_Control.vi and click on the labview "run" button.
  6. Read the text at the bottom of the Mephisto_S_Laser_Control.vi.
  7. Once the code is running, the laser can be turned on by pressing the button below "Laser ON/OFF".
  8. Let us know if that doesn't work so we can improve these directions.

 

Requirements

Software

 

Tested on Labview 2013 with a windows 7 PC. Might work on other sytems. 

 

Hardware

 

Innolight Mephisto S Product Line Laser.

Serial cable (USB to serial).

PC for running labview and controlling laser.

 

Additional Images or Video

 

 

Authors: Josh Smith, Juan Rocha, Erik Muniz, Adrian Avila-Alvarez

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
juanrocha
Member
Member
on

This VI is great, simple, and easy to use with its interface.

Contributors