07-27-2016 07:56 AM
Hi all,
New to the vision platform. I hooked a usb (2.0) webcam up to a cRIO 9035 and would like to start collecting images from it. I don't see the camera appear on the cRIO chassis as the modules do. Being new to this... where do I begin to actually start talking to the camera and receiving images?
Thanks in advance!
Solved! Go to Solution.
07-28-2016 07:25 AM
may be these link could help you
http://www.ni.com/white-paper/13045/en/#toc2
http://digital.ni.com/public.nsf/allkb/33131C00626C5B6E8625788D00025FC1
07-29-2016 06:47 AM
Thanks for the links, they provide good background information, but I'm still unsure how to start acquiring images. I have the Vision Acquisition Software module installed, so I have access to the IMAQdx functions. I have the usb camera showing up in MAX as a VISA resource (see attached). I thought VAS provided functionality to use USB webcams?
The NI-IMAQdx driver software is needed to use third-party image acquisition devices which use the following buses and standards: Gigabit Ethernet Cameras Supporting GigE Vision FireWire IEEE 1394 Cameras USB 2.0 Cameras Supporting Microsoft DirectShow USB 3.0 Cameras Supporting USB3 Vision
Source: http://digital.ni.com/public.nsf/allkb/0564022DAFF513D2862579490057D42E
07-29-2016 07:43 AM
07-29-2016 08:09 AM
Ah, thank you for the suggestion. I installed the USB3 support from the Vision module and thought that it was sufficient because the IMAQdx doesn't show up in the standard list of installable modules (you have to do a custom install to find the IMAQdx drivers and the USB Webcam support). Got everything correctly installed now, and it works like a charm.
07-12-2017 11:13 AM
hi sir,
Iam using Ni-cRIO-9022 4 chassis model and my question is any possibilities to interface my usb cam to it??? thanks in advance
07-12-2017 11:16 AM
@mohamedtanveej17 wrote:
hi sir,
Iam using Ni-cRIO-9022 4 chassis model and my question is any possibilities to interface my usb cam to it??? thanks in advance
No, none of the older VxWorks/PPC-based cRIO's support standard webcams. They do support "USB3 Vision" spec cameras though. If you use one of the newer cRIO's that run NI Linux RT, then UVC-based webcams (most of the ones on the market) are supported as well.
07-12-2017 11:26 AM - edited 07-12-2017 11:27 AM
Unfortunately my cam is usb vision 2 vx-700 only,anyways i need to finish this task with this one only ,so is there any alternate ways that , you can suggest?
07-13-2017 08:41 PM
It may work, but since it sounds like you have the hardware already I would just give it a try.
This KnowledgeBase Article leads me to believe a USB 2 camera may, but I'm not sure it would be guaranteed.
---
Aaron F.
National Instruments.
07-14-2017 08:39 AM
@Frankay,
That KB discusses USB 2.0 speeds in the context of USB3 Vision cameras. It is saying that a camera that adheres to the USB3 Vision protocol can work on this target using a USB 2.0 port. This is different than saying a USB 2.0 webcam would work.
As @BlueCheese pointed out, this definitely would not work on the cRIO-9022 since webcams are not supported on VxWorks systems.
Unfortunately there just isn't a way around this. If you have to use the 9022, you can switch to using a USB3 Vision camera and that would work. If you have to use the webcam, then you could switch to a newer Linux cRIO and that would work. These will just not work together.