Go to Post Actually there are several Wayne Cokeleys circulating around. We cloned him in 2001. This is his evil twin Mordechai responding.....-WC 3 - Wayne C. [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


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 12:06.

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