DCx Thorlab camera image processing
1 view (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 9 Mar 2018
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. "
Answers (0)
See Also
Categories
Find more on MATLAB Support Package for USB Webcams in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!