View Single Post
  #11   Spotlight this post!  
Unread 18-07-2012, 22:41
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: Vision Targeting on Laptop

Quote:
Originally Posted by Gdeaver View Post
...Is there any way to work with a usb web cam in labview? ... We tried 2 lan web cams and could not over come lag and latency issues. We are looking at using inexpensive usb web cams to give field view. .. Could this function be accomplished in labview? ...
On the FIRST cRIO, there is no USB port, so that is a bit of a problem. The IMAQ vision is actually broken into a few components, they have the vision analysis lib, and they have several acquisition drivers. The IMAQdx driver on Windows is able to use all of the USB webcams that fit into the Windows camera spec which I can't remember the name of. I don't know that the dx driver was a part of the kit last year, but you can always ask support to see if it is available.

The next thing to consider is that USB camera streams are not compressed, meaning that if you do get the camera into an external laptop or board, you will need to spend CPU to compress it before transmitting it to the dashboard. By comparison, the Axis IP camera is already compressed by HW on the camera and can be sent to the dashboard with no compression overhead.

As for the lag and latency, can you give more details on how it was setup. A few years ago, I hooked three cameras up to the dLink switch and requested all of the for the dashboard. Two large ones worked fine, and the limiting factor was the old laptop's CPU that couldn't uncompress and draw three different movie streams. Anyway, it should be no problem doing two.

Greg McKaskle
Reply With Quote