|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Dashboard Meter for encoder shooter rate.
So as the title says, I have been given the task of making a meter on the dashboard to represent the output of the encoder speed in my labview code. The number is from period tasks and is just a output of the shooter rpm...So far I've got it to display a number on the main screen, but can't seem to get the visual meter to work. Can anyone help? Thanks!(:
|
|
#2
|
||||||
|
||||||
|
Re: Dashboard Meter for encoder shooter rate.
What do you mean by "the main screen"? Once you have a number displaying, making a meter work should be as simple as wiring the input of the meter to the same source as the number.
For sending data to the dashboard, see the following tutorial: http://www.frcmastery.com/labview-fo...customization/ |
|
#3
|
|||||
|
|||||
|
Re: Dashboard Meter for encoder shooter rate.
Since you're posting in the LabVIEW subforum, I assume you're modifying the LabVIEW Dashboard and not talking about the SmartDashboard project.
A meter indicator should work just by wiring the value to it the same way you wire the value to a numeric indicator. Make sure the range is set appropriately in the indicator's properties, so you can see the needle move more than just a pixel or two. |
|
#4
|
||||
|
||||
|
Re: Dashboard Meter for encoder shooter rate.
Ohh thanks, I feel pretty dumb now! Much appreciated
|
|
#5
|
|||
|
|||
|
Re: Dashboard Meter for encoder shooter rate.
Quote:
Last edited by Fifthparallel : 20-12-2012 at 15:16. |
|
#6
|
|||
|
|||
|
Re: Dashboard Meter for encoder shooter rate.
Yes, we made an attempt to isolate and improve the terminology, but ultimately chose to call the communications Network Tables and within that is a set of shared variables called SmartDashboard. I'd prefer that the WPI dashboard be referred to as the Java dashboard and the LabVIEW one be referred to as LabVIEW dashboard. The current terms of Smart and Default sound kinda judgmental, and as I pointed out, they both support the SmartDashboard protocol now.
Greg McKaskle |
|
#7
|
||||
|
||||
|
Re: Dashboard Meter for encoder shooter rate.
If OP is using SmartDashboard, I'm 99% sure the 2013 version has an encoder widget built in. There was a class for it added to the source code about 6 weeks ago.
As to the naming of the SmartDashboard... seeing as it works with both Java and C++, simply naming it the "Java dashboard" while technically accurate might confuse some people. I don't really see the issue here. Last edited by F22Rapture : 22-12-2012 at 21:31. |
|
#8
|
|||
|
|||
|
Re: Dashboard Meter for encoder shooter rate.
Quote:
Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|