intel x86—64 Linux(Cropped) Basler daA1280-54um(usb) Sample-Grab: Error [globbing failed An exception occurred. No device is available or no device contains the provided device info properties.]

Alex_HD report abuse

As mentioned above is the problem I encountered. Does anyone know what caused this? thank you very much!

 

Answers

BST report abuse

Hi,

what hardware are you running?

From your lsusb we can see the camera is there (ID 2676:ba03):

lsusb

Does your udev rules folder contain "69-basler-cameras.rules"?

/etc/udev/rules.d69-basler-cameras.rules

If not, go into your extracted pylon archive (not /opt/pylon5 !) an run the script "setup-usb.sh".

setup-usb.sh

Finally, unplug and plug in your camera once...

Best Regards,
Bernd

 

Comments
Alex_HD report abuse

Hi BST ! Thank you for your reply . But the problem is still here, please see my answer.Because i can`t paste the pictures at here.

Alex_HD report abuse

Hi BST ! Thank you for your reply . But the problem is still here, please see my answer.

  • Additional information

CPU INFO

 

.rules file

 

setup-usb

 

debug info

mattb report abuse

Hi alex,
Can you share the source code of your program, and the contents of it's makefile?
If the program is built for a gigE camera or looking for a camera with a specific serial number, that could be the issue. Both involve maybe only 1 or 2 lines of code, so it can be as easy to miss as it is to implement ;-) thanks!

Comments
Alex_HD report abuse

Hi mattb !
The code and the Makefile I use is the official sample, not changed at all. Compiled into a binary file can be run under the standard Ubuntu system, but can not be run on my development board. You can find the corresponding source code based on the product model name and program name I provided, but I don't think it is meaningful.

mattb report abuse

Ok Alex, thanks. I ask because I saw "globbing" in the error and so did not think it was a standard sample. I wonder about some linux autosuspend power setting... After you close pylon viewer, do you notice the LED on the camera turning off after some seconds? I have seen this on some systems before. I will keep thinking...

Alex_HD report abuse

hi mattb ! Since I was running on a linux system that we have tailored (similar to an embedded system), I can't run the official software pylon viewer. The phenomenon I observed on my board was that the LED light went out within 1s after disconnecting the USB connection.

mattb report abuse

Ok, so the pylon viewer screenshot at the top of the thread is from the other system, and just for showing the camera info right? It was a bit confusing, as it appeared pylon viewer could be run, but your code could not.
For the LED, I am looking to know if it ever turns off while the camera is physically connected to the host. If it does, that would indicate the system's auto suspend feature is active and needs to be turned off (see here for instructions: https://www.baslerweb.com/fp-1507807893/media/downloads/documents/application_notes/AW00145002000_AppNote_Using_Single_Board_Computers_with_Basler_USB_and_GigE_Cameras.pdf).
What kind of board is this? It is a cots SBC?

Alex_HD report abuse

Yes, just for showing the camera info. And it never turns off while the camera is physically connected to the host.
my board :https://www.congatec.com/cn/products/qseven/conga-qa4.html

pylonguy report abuse

Hi Alex,

it looks as if for some reason the related libraries are not found. In order to have more information I would kindyl like to ask you to perfrom the following actions in order to create some log files:
 

strace <PathToPylonGrabSample>/Grab 2>strace_log.txt 
readelf -d <PathToPylonGrabSample>/Grab > readelf.txt 
LD_DEBUG=files <PathToPylonGrabSample>/Grab /Grab 2> log.txt

Please send to log files to our support team mailto:support.europe@baslerweb.com

pylonguy report abuse

Sorry, last lin contained a typo, must be

LD_DEBUG=files <PathToPylonGrabSample>/Grab 2> log.txt

 

Add Answer

Need support?

Just drop us an email to ... Show more