Cant configure one model for the Allied Vision Camera from Image Acquisition App

5 visualizaciones (últimos 30 días)
I have two cameras slighlty different models. One that I use for debugging. While the other is installed into a system. Following the instructions on allied vision website. I was able to get the spare camera to work. However, when I load the other from image aquisition, I dont get a tool bar , check the top of the screengrab, or an ability to export the code. Matlab sees the camera in the hardware list but thats it.
I tried using the previous code I created which works with the spare camera and there is no image generated. Anyone run into this before?
%%%sample code for camera that works
v = videoinput("gentl", 1, "Mono8");
Configure Device-Specific Properties
Configure properties that are specific to this device.
src = getselectedsource(v);
src.ExposureTime = 5.001217e+03;
Capture Image
Capture a single frame.
snapshot1 = getsnapshot(v);
View Snapshot
Display the captured image.
f = figure;
ax = axes(f);
imshow(snapshot1, "Parent", ax);
Clean Up
Delete the videoinput object and clear variables from the workspace.
delete(v)
clear src v

Respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by