Error previewing video stream from camera
6 views (last 30 days)
I have an Alvium G1-1240c camera connected to a POE injector, which is connected to a ethernet-to-USB adater and plugged into the USB port on my computer. I set the video inputs via
vid = videoinput('gige',1,'RGB8')
and get the following output
Summary of Video Input Object Using 'Alvium G1-1240c'.
Acquisition Source(s): input1 is available.
Acquisition Parameters: 'input1' is the current selected source.
10 frames per trigger using the selected source.
'RGB8' video data to be logged upon START.
Grabbing first of every 1 frame(s).
Log data to 'memory' on trigger.
Trigger Parameters: 1 'immediate' trigger(s) on START.
Status: Waiting for START.
0 frames acquired since starting.
0 frames available for GETDATA.
However, when I use the code
I get the following error:
gige: The frame size has changed from 4024x3036 to 50462979x16777730 during the acquisition. Ensure that you are not attempting to perform a sequenced acquisition with a
varying region of interest (ROI).
Any ideas on how I can resolve this? I ran into a similar issue when I tried to use Image Acquisition Explorer.
EDIT: So randomly sometimes instead of the above error I get the following error:
gige: Block/frame 2 is being dropped because a lost packet is unable to be resent. There are several possible causes for packets being lost. See the troubleshooting
information in the "Configuring GigE Vision Devices" section of the Image Acquisition Toolbox documentation.
As far as I can tell absolutely nothing was done differently but I get different errors.