Aquire multiple channels sensor data using image acquisition tool
9 views (last 30 days)
Show older comments
I am using a sensor which requires 1X-2YE as the sensor geometry. I have a framegrabber Xtium2 CXP PX8 from Teledyne to grab the data from the sensor. The preview in the CamExpert from Teledyne is full resolution(13392x9528). So, I installed the hardware support dalsa to the image acquisiton toolbox and loaded the camera profile from the output of CamExpert (Ver: 8.65).
However, when I try to access the camera, I only got 13392x4764 per frame. I think because of the sensor geometry it has two channels in the output. And I only have access to one channel. I wonder how can I access data from both channels?
Any help will be appreciated!
0 Comments
Answers (1)
Isha
on 2 Sep 2025
Hello,
You can check for available video sources by listing them in MATLAB:
info = imaqhwinfo('dalsa');
disp(info.DeviceInfo)
Look for multiple devices or video sources—sometimes different channels appear as separate devices or sources. To access each channel, try creating video input objects with different device IDs:
vid1 = videoinput('dalsa', 1); % First channel
vid2 = videoinput('dalsa', 2); % Second channel (try incrementing the device ID)
You can also inspect the source properties to see if you can select the channel:
src = getselectedsource(vid1);
disp(src)
If you are only able to acquire each channel separately, you can combine the images manually:
frame1 = getsnapshot(vid1);
frame2 = getsnapshot(vid2);
fullFrame = [frame1; frame2]; % Vertical concatenation
For more details, refer to the documentation:
Hope this helps.
See Also
Categories
Find more on National Instruments Frame Grabbers 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!