DCx Thorlab camera image processing
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
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. "
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Support Package for USB Webcams 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!