File Exchange

image thumbnail

WA1500 - RS-232 Driver for Burleigh WA-1500 Wavemeter

version (2.31 MB) by Todd Karin
Matlab driver to communicate with Burleigh WA-1500 wavemeter via RS-232. Send digital commands


Updated 15 Apr 2015

View License

The wa1500 toolbox allows communication to a Burleigh WA-1500
wavemeter via an RS-232 connection. Wavemeter communication can be
initialized and read out digitally. The analog output can be read and
converted to a wavelength in the software. The toolbox includes
functionality to send serial commands to the wavemeter.
The package documentation can be opened by typing

>> doc wa1500

into a matlab prompt.

The serial cable should be plugged into the 'COM1' port of the
machine. A different serial port can be used by modifying the
wa_initialize function. This allows matlab to communicate with the
instrument using the SERIAL and FPRINTF functions.

Reading the wavelength using the analog output results in a faster
read time. However, to do this directly into matlab requires the data
acquisition toolbox and a DAQ board.

WA1500 main functions.
wa_readWavelength - Get a single wavelength measurement
wa_findInstrument - get the wa1500 serial instrument
wa_close - Shut down communication to wavemeter
wa_command - send serial commands to wavemeter
wa_getInstrumentStatus - get current operating status of wavemeter
wa_initialize - Initializes communcication to WA-1500 wavemeter
wa_testCommunication - test communcication to WA-1500 wavemeter
wa_volts2nm - Convert analog out voltage to wavelength
wa_waitForSettle - wait for laser wavelength to settle
wa_getSetPoint - returns the current set point
wa_resetDeviation - Set the setpoint equal to current wavelength
wa_devResetQ - does the deviation need to be reset?
wa_getReading - get the text reading from wavemeter

INSTALL, LICENSE, README, Burleigh WA-1500 manual.

Cite As

Todd Karin (2020). WA1500 - RS-232 Driver for Burleigh WA-1500 Wavemeter (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)


changed description

Changed function formats

Fixed Typos

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux