I believe the Bioprecision stage is controlled by the Mac 5000 stage
controller. You can use either ASCI mode or binary to communicate. We
use ASCII mode to communicate with our Unix workstations through a
serial interface. The protocol to move the stage right or left from the
current position is:
MOVREL X = 1000 or MOVREL X =-1000 . Below is a snippet of the
code that we use for our stages:
int n = 0;
struct termio options;
int fd;
// open serial port
if ((fd=open("dev/ttyd2", O_RDWR | O_NOCTTY))==NULL)
{
printf("Error opening /dev/ttyd2\n");
exit(0);
options.c_cflag |= CREAD|CLOCAL;
options.c_cflag |= PARENB;//odd parity
options.c_cflag |= PARODD;
options.c_cflag |= CSTOPB; // 2 stop bits
options.c_cflag &= ~CSIZE;
options.c_cflag |= CS8;
options.c_ospeed=9600; // set baud rate
// send cmd MOVERIGHT
ioctl(fd, TCSETA, &options);
n= write(fd, "MOVREL X=1200\r",14);
if (n<14)
puts (" move right failed");
close(fd);
Hope this helps. If you have more questions please feel free to email me
privately.
Linda Steer
Department of Otolaryngology
SUNY Upstate Medical University
Syracuse, NY
Vincenzo Della Mea wrote:
> If you know the communication protocol syntax, you can try with our
> IJSerial plugin (
http://www.eslide.net). By the way, I would be glad
> to have some indication regarding that protocol,
>
> Vincenzo
>
> Il giorno 20/ott/06, alle ore 17:54, B. Prabhakar Pandian ha scritto:
>
>> Hello,
>> Does anybody have a plugin that will allow control of the
>> Ludl Bioprecision Inverted stage.
>>
>> Thanks,
>>
>> -Prabhakar
>>
>> --
>
>
> * Vincenzo Della Mea
> * Medical Informatics, Telemedicine and Ehealth Lab
> * University of Udine, Italy
> *
http://mitel.dimi.uniud.it/ -
http://www.eslide.net>
>