Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview error 1074360308 multiple GigE cameras

Hello community,

I am having an issue when trying to run two Basler GigE cameras through the same ethernet hub to my computer.  I have a snap test file that is supposed to take as many pictures as I want but after one photo I receive the error "camera has been removed" even though the pictures are displayed on the front panel. Attached is a screenshot of this issue.  

I also have a video test file that is the actual goal of my research but I suspect that whatever causes the error in the snap test is preventing me from beginning a video session. I get error 1074360306 "No acquisition in progress" and then repeated error 1074360308 until I stop the file.  I've attached a screenshot of this issue as well.

I tried changing the packet size in NIMAX, it didn't help.  I tried changing the desired peak bandwidth also in NIMAX and it made other errors pop up.  I have reviewed the two support pages https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019KwgSAE&l=en-US and https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000g1BiSAI&l=en-US 

My switch is a Netgear GS316 which supports jumbo frames up to 9216 bytes.

Both my codes are attached but please let me know if any other information would be helpful, any assistance would be much appreciated.

Thank you!

0 Kudos
Message 1 of 9
(4,139 Views)

Hi there, I had a similar problem in the past and following article helped me.

Error 0xBFF69031 "The system cannot acquire images" When Acquiring from a GigE Camera - National Ins...

Key solution was "Verify that the network interface card is configured to allow jumbo frames."

 

And my one concern is that "Sec between images" is zero. When you set the value non zero, does the same error occur?

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
Message 2 of 9
(4,108 Views)

Hi Emboar,

 

Thank you for the input, I made the recommended changes in that article including changing the ethernet settings to enable jumbo frames and changing the timeout to be greater than the exposure time.  The snap code will work if I set it to take multiple pictures with 0.5 s delay between them, but the same error still pops up after the last image is taken.  If I try to run the snap code again after this error, if I don't wait long enough it doesn't work and defaults to my video camera on the laptop instead.  My video code is still doing the same thing and showing the same errors.

 

Thanks again,

Michelle

0 Kudos
Message 3 of 9
(4,063 Views)

Hi again,

I tested the snap test again without the "discover ethernet cameras" block and that seems to have solved the first problem so now my snap test works fine.  However, when I try to use the video code, the error 1074360306 "No acquisition in progress" pops up repeatedly.  I looked on the discussion forum and found that there might be an invalid camera attribute in NIMAX but I'm not sure what to look for.  I tried enabling acquisition frame rate in NIMAX but that didn't make a difference.  Any other advice would be appreciated.

Thanks!

0 Kudos
Message 4 of 9
(4,051 Views)

I'm glad to hear your first problem has solved. The error occurred on Video Test.vi?

Unfortunately my LabVIEW is 2017 so cannot see your VI.

 

Can you do Snap and Grab on MAX?

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 5 of 9
(4,023 Views)

Hi again Emboar,

Yes, I can do a snap and grab on MAX, here's a screenshot of the error in LabVIEW.  I have since removed the "find camera" blocks so the only error that occurs is the one displayed.

Thank you,
Michelle

0 Kudos
Message 6 of 9
(4,011 Views)

I don't have silver bullet to resolve the error now...

When you enable "Highlight Execution", do you see the same error?

Why I'm asking is I guess camera is not ready so, the error would be.

When you enable highlight feature, I hope the camera has been ready at "IMAQdx Get Image2.vi".

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 7 of 9
(4,004 Views)

Hi Emboar,

 

Sorry it's taken me a while to answer you, because of the virus I've had to move everything to my home for mandatory teleworking. 

Because of that, I've experienced a new issue that I think has to do with NI's license and NASA's VPN.  In order to access the LabVIEW license, I have to be connected to the VPN; I'm connected over my wireless so I can still access my computer's ethernet jack for the cameras.  When I plug in the ethernet hub which has the cameras plugged into it, the cameras do not show up in the NIMAX Network Devices as they have before.  When I try to add a device manually, there are no devices to be found (attached picture).  My department's IT person couldn't find the cameras in Network discovery in file explorer even though it seems that the IP addresses are being located in the IP config command prompt window.  She doesn't know what else to do because she's not experienced in NI software.

I'm not sure what the problem is because this is exactly the same configuration I had in my lab but I think the VPN is somehow disrupting the communication between the ethernet hub and the computer.  If you have any ideas, or can recommend someone who knows about this issue, I would really appreciate it.

 

Thanks for all your help,

Michelle

0 Kudos
Message 8 of 9
(3,950 Views)

Hi Emboar,

 

When I highlight execution in the VI, the same error does occur.  I streamlined my VI down to just one camera, and it looks ok until the execution gets to the "grab" function, then it shows error 1074360306.  

If you have any advice I would appreciate it.  I've attached a picture of the error and my block diagram for your reference.

 

Thanks,

Michelle

0 Kudos
Message 9 of 9
(3,785 Views)