Go to Post If it's not on fire, it's a software problem. - Matt Leese [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-01-2015, 13:13
JMankewitz's Avatar
JMankewitz JMankewitz is offline
Registered User
FRC #4201 (Vitruvian Bots)
Team Role: Programmer
 
Join Date: Sep 2014
Rookie Year: 2014
Location: Hawthorne, CA
Posts: 11
JMankewitz is an unknown quantity at this point
USB Camera?

Has anyone figured out how to use a USB camera instead of an axis camera for vision? We're having trouble finding any examples through LabView that might help us.
Reply With Quote
  #2   Spotlight this post!  
Unread 07-01-2015, 13:21
JMankewitz's Avatar
JMankewitz JMankewitz is offline
Registered User
FRC #4201 (Vitruvian Bots)
Team Role: Programmer
 
Join Date: Sep 2014
Rookie Year: 2014
Location: Hawthorne, CA
Posts: 11
JMankewitz is an unknown quantity at this point
Re: USB Camera?

UPDATE: From this -
http://wpilib.screenstepslive.com/s/...e-2014-to-2015

We know that the camera vis have been updated to support USB cameras, but we're having trouble getting data from ours.
Reply With Quote
  #3   Spotlight this post!  
Unread 07-01-2015, 17:34
Greg McKaskle Greg McKaskle is online now
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
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
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:03.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi