View Single Post
  #1   Spotlight this post!  
Unread 02-02-2015, 23:29
Crossle86's Avatar
Crossle86 Crossle86 is offline
Software Engineer
AKA: Richard Corn
FRC #4450 (Olympia Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Olympia, WA.
Posts: 92
Crossle86 is an unknown quantity at this point
Switch Camera in Labview Dashboard with Joystick

We are using Java on the robot and the Labview dashboard program. We don't know much about Labview but have customized the DB by adding simple display controls and setting values from Java with SmartDashboard.PutXXX calls. The Labview DB has a drop down list that allows the DS operator to select which camera feed to display. We'd like to be able to do that camera choice (and switch on the fly) with a joystick button. I'm drawing a blank on how to change the setting of the camera selection drop down control from the Java code monitoring the joystick or if there is a way to have the DB LV code monitor the joystick and change the camera display. I'm sure there is a way to do this but its outside our LV capability at this moment. Any help would be appreciated.
Reply With Quote