top bar


Revision as of 14:04, 22 April 2011 by Karlh (Talk | contribs)

Ludl adapter

Summary:Interfaces with Ludl MAC controllers and associated hardware
Author:Nico Stuurman (based on a version by Nenad Amodaj)
Platforms:All (uses serial interface)
Devices:Controller, Shutter, Filter Wheel, XY Stage
Automated Serial Port Setup:Yes
Peripheral device discovery:Supported

This adapter controls equipment through the Ludl MAC family of controllers. It has been developed for the MAC5000 controller but also works with MAC2000 controllers.

All communications to devices take place through the Controller device (i.e., the MAC5000). Set the Serial port to use 9600 baud and 2 stopbits. For the MAC5000 you can set the serial port property 'DelayBetweenCharsMs' to 0 to increase speed, however, for the MAC2000 controllers you will need to set this property to 10 or higher. You might also want to increase the AnswerTimeout of the serial port to 2 sec. If you make movements with your stage that take a long time, increase the AnswerTimeout of the serial port even more (so that the port will not time out before the movement finishes).

The adapter uses the 'high level' command interface (is there anyone who feels like implementing the low level interface?) Currently, you can only use one controller. You need to set the serial port for communication with the controller, and you can define the 'transmissiondelay' (0.5 msec between chars send by the controller to the computer). It is probably safe to set this value to 1 (the lowest) with modern computers.

There can be up to 5 'devices' (i.e., controller cards) per controller, and each controller card can have 3 shutters and 2 filter wheels. You will therefore need to specify for each Wheel and Shutter a device number (1-5 and WheelNumber (1-2) or ShutterNumber (1-3).

The XYStage will let you set some parameters concerning the speed of the stage (Speed, StartSpeed, Acceleration). See the manual for definitions of these terms.

To use a Z-drive (focus drive), you will need to specify the letter under which it is known by the Ludl controller as a pre-initialization property. Confusingly, this is often not "Z", but "B". If you can not figure it out, open the file "Corelog.txt" in your Micro-Manager directory. It contains some output from the Ludl controller that you can use to deduce the drive letter.

--Nico 13:43, 25 August 2007 (PDT)

If using an actual serial cable, ensure that the cable is of the "null modem" type.

--oreopoj 14:19, 8 September 2010 (EST)

© Micro-Manager : Vale Lab, UCSF 2006-2011 | All Rights Reserved | Contact