View Single Post
  #3   Spotlight this post!  
Unread 11-03-2016, 07:44
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Switching between two cameras

The DB talks to the roboRIO and it is the roboRIO that needs to know the USB name. The DB doesn't really know where the images are from.

I think what you want to do is to have the DB write to a selector such as a network table variable. On the robot, use the selector to decide which camera you read from and send to the DB.

The VI that implements this is a few layers down and is in a VI called Send 2 PC.

There are specifics in other posts on CD. I can go into more detail here, but you can probably find it there.

Greg McKaskle
Reply With Quote