03-04-2020 03:36 PM
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!
03-04-2020 06:31 PM
Hi there, I had a similar problem in the past and following article helped me.
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?
03-06-2020 09:57 AM - edited 03-06-2020 09:58 AM
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
03-06-2020 03:05 PM
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!
03-09-2020 08:56 PM
03-10-2020 02:52 PM
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
03-10-2020 07:23 PM
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".
03-23-2020 11:50 AM
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
05-11-2020 12:15 PM
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