Thread: 2 cameras
View Single Post
  #2   Spotlight this post!  
Unread 28-01-2017, 16:10
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,926
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: 2 cameras

You just have to duplicate the initial USB 0 camera setup in the default project code Vision Processing.vi for a second camera.
You just need the section that sets up the camera up to the "Camera IP & Dash" You don't need anything in the while loop.

For two USB cameras start the second camera as USB 1, and give it a different name "camera 2" for instance.

One extra point, if you use two USB cameras, then use the controls to start both cameras at their lowest resolution, 10 fps and 50% compression.
Otherwise, the USB driver will choke on the too high bandwidth and just give you a blank screen for the second camera with an error message.
Once both cameras are running at low res you can bring them up to higher res to find the USB bandwidth limit.
This is a different bandwidth limit than the wireless 7Mbps.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 28-01-2017 at 16:14.
Reply With Quote