Go to Post Valentine's day, who has time for Valentine's day?????? I have code to write!! - paulcd2000 [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 16-01-2015, 10:10
Bluejackets's Avatar
Bluejackets Bluejackets is offline
Bluejacket Robotics
FRC #5464 (Bluejacket Robotics)
 
Join Date: Dec 2014
Rookie Year: 2015
Location: Cambridge Isanti HS
Posts: 115
Bluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to behold
USB Double Camera??

Is there a way to hook up and use two USB cameras using Labview and have both show on the classmate computer. OR is there a way to remotely switch between the two.

If so how? and/or what would be needed.

I appreciate you time and help
Reply With Quote
  #2   Spotlight this post!  
Unread 16-01-2015, 10: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,752
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 Double Camera??

Yes, but it will take some customization.

First, the USB cameras have addresses based on their serial number. The LV framework has one Vision VI that does initialization, optional publishing to the dashboard, and can loop and do roboRIO processing and reconfiguration.

You would probably want to modify the Vision VI to have code for the other camera. In particular, you need to perform an Open with the other USB address, probably USB 1, and connect it to a Background loop. If you will not process on the roboRIO, you don't need the loop that contains Get and reconfiguration.

On the dashboard, you would also want to customize.

If you want your single image viewer to switch between cameras, you will want to have a switch/button/ring selector, and I think it will be able to simply decide the camera address. I haven't tried that approach. You can also add an additional vision loop for the other camera and decide which draws to the image display.

If you want a second display, you will want to scoot things around or make space for it. You may also want to delete or update the sizing code. Then you will definitely make a second vision loop and connect it to the second display.

If you have issues or questions, post them here.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 16-01-2015, 13:51
Bluejackets's Avatar
Bluejackets Bluejackets is offline
Bluejacket Robotics
FRC #5464 (Bluejacket Robotics)
 
Join Date: Dec 2014
Rookie Year: 2015
Location: Cambridge Isanti HS
Posts: 115
Bluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to behold
Re: USB Double Camera??

Thanks we will give that a try during our build session. Thanks
Reply With Quote
  #4   Spotlight this post!  
Unread 16-01-2015, 14:00
Conor Ryan Conor Ryan is offline
I'm parking robot yacht club.
FRC #4571 (Robot Yacht Club)
Team Role: Mentor
 
Join Date: Nov 2004
Rookie Year: 2004
Location: Midtown, NYC
Posts: 1,896
Conor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond repute
Re: USB Double Camera??

Keep an eye on your bandwidth usage.
Reply With Quote
  #5   Spotlight this post!  
Unread 17-01-2015, 11:06
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,581
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
You should also keep a close eye on the cpu utilization of the classmate.
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 00:01.

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