Go to Post (I'm sure that Dave is holding his breath for "welding with Jello".) - jgannon [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 18-03-2016, 19:15
Charlie2016's Avatar
Charlie2016 Charlie2016 is offline
Registered User
AKA: 8 mile
FRC #3542 (SPEED)
Team Role: Mechanical
 
Join Date: Dec 2013
Rookie Year: 2010
Location: Temperance
Posts: 5
Charlie2016 is an unknown quantity at this point
2 usb camera toggle in labview

My team has found that we have a use for both ends of our robot this year. I have heard of teams toggling between cameras in labview but I have not figured out how to do so. If anyone could post a picture of this or leave an example it would be greatly appreciated. We are using 2 ms lifecams if that affects anything.
Reply With Quote
  #2   Spotlight this post!  
Unread 18-03-2016, 22:32
teku14's Avatar
teku14 teku14 is offline
http:
FRC #2614 (MARS)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Morgantown, WV
Posts: 64
teku14 is a jewel in the roughteku14 is a jewel in the roughteku14 is a jewel in the roughteku14 is a jewel in the rough
Re: 2 usb camera toggle in labview

Try this http://www.chiefdelphi.com/forums/sh....php?p=1532343
Reply With Quote
  #3   Spotlight this post!  
Unread 18-03-2016, 22:35
TogetherSword8 TogetherSword8 is offline
Registered User
FRC #0888 (Robotiators)
Team Role: Alumni
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Glenelg High School
Posts: 85
TogetherSword8 is an unknown quantity at this point
Re: 2 usb camera toggle in labview

I know there is a way to get both camera streams through usb. Look at the example code, and when it initializes camera, it has you choose between usb 0 and camera-team.local. If you change the camera-team.local to usb 1, it will be the second camera. If you double this initialization code for usb 0 and usb 1, you can choose which camera reference to read.
As for how to forward this image to the robot, I am not sure, but my idea would be to use an udp connection and send over the image at the end, choosing between the two. There is probably a more efficient way, but I don't have a robot with me such that I could test any potential solutions.
__________________
I program a robot. Which means I write code and everyone gets mad at me when something doesn't work, even if I am the only one that knows it doesn't work. The key part to know is that the robot never works.
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 22:44.

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