Thread: USB Camera?
View Single Post
  #3   Spotlight this post!  
Unread 07-01-2015, 17:34
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: USB Camera?

Have you gone through the LV tutorial for vision? It will have you open the 2015 vision example and walk through the several samples. Due to last minute changes, the initial path doesn't point to the correct folder, oops. If you delete the last two path segments, it will point to the correct location.

The example project has code for both the laptop usage of the USB camera, and notice that it is referred to by an address that is of the form "USB #" where # is the enumerated camera spot. This is how you use multiple USB cameras. You may need to change # to zero or two depending on your laptop. In the roboRIO section of the project, you can open a VI that will do the same processing on the roboRIO using a camera plugged into it.

The vision Processing VI has code to open either an Axis or USB camera by flipping a Boolean constant.

I hope this helps, and if you have a more specific question, please ask.

Greg McKaskle
Reply With Quote