Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   2 usb camera toggle in labview (http://www.chiefdelphi.com/forums/showthread.php?t=145905)

Charlie2016 18-03-2016 19:15

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.

teku14 18-03-2016 22:32

Re: 2 usb camera toggle in labview
 
Try this http://www.chiefdelphi.com/forums/sh....php?p=1532343

TogetherSword8 18-03-2016 22:35

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.


All times are GMT -5. The time now is 22:44.

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