Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   USB Double Camera?? (http://www.chiefdelphi.com/forums/showthread.php?t=132983)

Bluejackets 16-01-2015 10:10

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

Greg McKaskle 16-01-2015 10:34

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

Bluejackets 16-01-2015 13:51

Re: USB Double Camera??
 
Thanks we will give that a try during our build session. Thanks

Conor Ryan 16-01-2015 14:00

Re: USB Double Camera??
 
Keep an eye on your bandwidth usage.

Joe Ross 17-01-2015 11:06

You should also keep a close eye on the cpu utilization of the classmate.


All times are GMT -5. The time now is 09:26.

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