Code covered by the BSD License  

Highlights from
Zaber T-LSM Translation Stage Driver

5.0

5.0 | 2 ratings Rate this file 21 Downloads (last 30 days) File Size: 71 KB File ID: #40197

Zaber T-LSM Translation Stage Driver

by

 

06 Feb 2013 (Updated )

A driver framework for Zaber T-LSM compatible translation stages (firmware 5.29, 10.07.2013).

| Watch this File

File Information
Description

The driver framework implements the hardware/firmware reference of the Zaber Technologies Inc. T-LSM compatible translation stages as described on "http://www.zaber.com/wiki/Manuals/T-LSM#Detailed_Command_Reference".

Devices listed on "http://www.zaber.com/support/?tab=Device%20ids" are supported, but only T-LSM stages have been tested. Double check the parameters in "ZaberDeviceList.m" for your model. New devices can be added to this file, which has to be executed once to produce the relevant file "ZaberDevices.mat"

"ZaberTest.m" contains possible calls to all functions, so please don't run the full script via F5 or the "Play" button.

Help Texts are thankfully taken from the Zaber wiki page.

Implementation of all functions with alias number and error handling proved to be too complex for Instrument Control Toolbox instrument drivers - so these are just m-files which require only a serial port object and the function input parser functionality of Matlab.

MATLAB release MATLAB 7.13 (R2011b)
Other requirements translation stage & accessories, serial port or USB/serial adapter; Matlab versions with function input parser
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
26 Nov 2013 NN

Works great with TLSR stages of Zaber as well, thanks for this contribution!

18 Apr 2013 Dominik Hofer

Thanks Clay for beta-testing - it is much appreciated. I've already corrected the error you've found and uploaded this update, so it should be online after Mathworks' validation.

Would you mind sending me the code from your switch statement case? I think it would make a good addition to the driver.

10 Apr 2013 Clay

This is great. Thanks for creating these drivers. I'm using Zaber T-LA28A actuators, and it works well after making a few adjustments in ZaberUpdateDeviceList.m. In addition to adding a case for my device in the switch statement (case 28), I found that I needed to replace

devIDs(byteid(1)) = [devIDs, id]

with

devIDs(byteid(1)) = [id];

Otherwise, I get the following error:

In an assignment A(I) = B, the number of elements in B and I must be the same.

Updates
18 Apr 2013

bugfix in "ZaberUpdateDeviceList.m", line 56, from "devIDs(byteid(1)) = [devIDs, id];" to "devIDs(byteid(1)) = id;"; fixed some spelling errors in the description

10 Jul 2013

Added support for all devices with firmware 5.29. Stop sending in-motion commands to devices, which are not translation stages (e.g., T-JOY3) in single device queries.

Contact us