DCx Thorlab camera image processing
古いコメントを表示
This is how I want to use the camera: computer 1 sends trigger to the camera, and computer 2 sets the camera parameters and processes image data. The two computers are separated from each other.
How to set up event, listener and callback, or use any other method on computer 2, so that when computer 1 sends the trigger, computer 2 copies the image to array and process the image automatically?
9 件のコメント
Image Analyst
2018 年 3 月 9 日
Have you tried asking Thorlabs for MATLAB code that works with their camera?
Walter Roberson
2018 年 3 月 9 日
Which model of DCx ?
PW
2018 年 3 月 9 日
Walter Roberson
2018 年 3 月 9 日
It appears that external trigger is possible with that camera if you use the CAB-DCU-T3 GPIO cable. That would require that you had a GPIO interface connector on the first host; the MATLAB on that host would probably need the Instrument Control Toolbox to talk to the GPIO device.
There are a lot of details at https://www.thorlabs.com/drawings/8cb50c673356eb89-7EF6B4F8-9414-6321-F93F5BA7FBCD3BDF/DCC3260M-Manual.pdf
There does appear to be a built in mode for video capture with external trigger. I do not know at the moment if that can be configured from within MATLAB.
PW
2018 年 3 月 9 日
Image Analyst
2018 年 3 月 9 日
Didn't your MATLAB code send the trigger signal? So it would know when it's done that.
PW
2018 年 3 月 9 日
Walter Roberson
2018 年 3 月 9 日
Image Analyst: the code sending the trigger signal is on a different host from the recording system.
The host sending the trigger could potentially use TCP or the like to notify the other host.
But at the moment I do not know that any notification is needed. It appears to me that getdata() will wait for frames to become available, up to timeout. This is specifically contrasted with getsnapshot() which is for immediately returning frames and is documented with the note,
"If obj is running but not logging, and has been configured with a hardware trigger, a timeout error will occur. "
PW
2018 年 3 月 9 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Image Preview and Device Configuration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!