Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Choosing Autonomous via SmartDashboard (http://www.chiefdelphi.com/forums/showthread.php?t=142711)

2386programming 28-01-2016 13:26

Choosing Autonomous via SmartDashboard
 
What my team is trying to accomplish is choosing from our several autonomous modes through the smart dashboard. But the problems that I run into are that I cannot find a function to do so in LabView, as well as only being able to open the default dashboard, and I cannot put any buttons in there.

sraque 29-01-2016 07:00

Re: Choosing Autonomous via SmartDashboard
 
Since this is in the Labview forum, I will assume what you need is a custom Labview Dashboard. Take a look at Tutorial 6 from the Labview Welcome Screen. That will get you some fundamentals.

You can then look at our code uploaded here:

http://www.chiefdelphi.com/forums/sh...d.php?t=140812

which includes our Dashboard code. There is a play picker in that code.

Greg McKaskle 29-01-2016 10:10

Re: Choosing Autonomous via SmartDashboard
 
Making a custom dashboard is a fine thing to do, but even the default dashboard supports auto picking.

Begin publishes an array of named auto strings. The dashboard shows those in the white ring below the gyro gauge. The Auto VI reads the selector and it is wired to a case statement.

Greg McKaskle


All times are GMT -5. The time now is 03:54.

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