From: Du Le on 1 Jun 2010 21:16 Hello, I am controlling my PVCAM-supported-CCD camera (from Princeton Instrument) in matlab through the USB serial port. I have recently wanted to scan the temperature of this camera in MATLAB, then will set temperature when it is reasonable to acquire the image. I have tried to use serial commands fscanf to do this, however it is not quite successful when applying to USB serial port. I think these commands are only for controlling with RS 232 port (DB 9/25), not for USB. If some body have successfully scanned temperature of PVCAM Support camera in MATLAB, please let me know. Thank you.
From: Ankit Desai on 2 Jun 2010 08:30 "Du Le" <100phil(a)live.com> wrote in message <hu4bdm$d4t$1(a)fred.mathworks.com>... > Hello, > > I am controlling my PVCAM-supported-CCD camera (from Princeton Instrument) in matlab through the USB serial port. I have recently wanted to scan the temperature of this camera in MATLAB, then will set temperature when it is reasonable to acquire the image. > > I have tried to use serial commands fscanf to do this, however it is not quite successful when applying to USB serial port. I think these commands are only for controlling with RS 232 port (DB 9/25), not for USB. > > If some body have successfully scanned temperature of PVCAM Support camera in MATLAB, please let me know. > > Thank you. Hi Du, I have not scanned temperature of PVCAM Support Camera, however I have used a USB-to-Serial adaptor. The functionality and robustness of the USB-to-Serial adaptor depends on how well the adaptor driver emulates a real serial port. The better the driver, more robust and reliable the result. Which adaptor are you using? I have successfully used IOGear, Belkin and Keyspan in the past. You might want to give one of these a try. -Ankit
|
Pages: 1 Prev: repeated measures Analysis of Covariance Next: Mexing with gfortran 4.4 on Snow Leopard |