LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

usb 3.0 camera black screen

Thank y'all for your reply! 

 

First, My screen stays the same blank with both 'cam0' and 'cam1'. However, one thing I notice is that the 'cam1' only has a USB label on the left, is that means the Labview does not use it as a camera? 

 

Second, when I change to the 'cam0' in MAX, it only shows Error 0x80004005. I searched on the forum and did the trouble shooting, they all cannot solve my problem. Do you know how can I made my 'cam0' working properly? Since I checked with the order student who made up the code, the code it fine to use with my USB 3.0 camera. 

0 Kudos
Message 21 of 24
(1,369 Views)

The names "cam0" and "cam1" should be identical to the names that MAX gives them.  Open MAX.  Look under My System, Devices and Interfaces.  Wait 15 seconds for the NI-IMAQdx devices to appear.

 

What shows up there?  On my PC, I see "cam0" through "cam4", with four of them being identified as "Axis IP Camera" and one as "Logitech HD Pro Webcam C920".  I'm looking at the Logitech camera (it sits on top of my monitor), and can also see one of the Axis cameras, but I don't know which one is really mine.  So here's what I do:

  • Click on a Camera.  A blank Image screen should appear in MAX.
  • Click "Snap".  You should see a picture (if you can "legally" use the camera).
  • Try "Grab" to see if Videos work.

When I try this with my Logitech camera, I get nice images.  When I try with the Axis cameras, I usually get Error BFF69034, telling me that the camera has a password and I didn't authenticate properly, but one camera shows me an image.  Unfortunately, it wasn't my Axis camera, but a colleague's on another floor (my camera might not be "plugged in").

 

Try the MAX experience, let us know what you find.  If you do identify your camera, by all means use that ID in the Configure Camera VI.  Try the VI that I posted in the Snippet, but change "cam3" to your camera.  It really should work!

 

BS

0 Kudos
Message 22 of 24
(1,351 Views)

I find 'cam0' and 'cam1', and 'cam1' can work well and grabbing. However, 'cam1' only has an USB label besides it (see from attachment, on the left), and only the 'cam0' has 'Basler GenICam Source'. I think this is where the problem is. When I clicked on 'cam0', it only shows 'Error 0x80004005'. I tried the troubleshooting in NI: http://www.ni.com/white-paper/5846/en but I still cannot find the solutuion. Can you help me with it? 

0 Kudos
Message 23 of 24
(1,341 Views)

RickyQ,

 

It sounds like your camera is working well, as long as cam1 is successfully grabbing images in MAX. If you can use the camera in MAX, you should be able to run a simple IMAQdx example VI to grab images in LabVIEW as well. Concerning "cam0" in MAX, this is an artifact of having Basler's pylon software installed on your PC. This entry is a false enumeration of a IMAQdx camera, and so it cannot be accessed hence the error you receive. Please disregard the entry or uninstall pylon if this is causing problems.

0 Kudos
Message 24 of 24
(1,308 Views)