Go to Post If you do mentor FIRST, be an asset to your team, but know that your students will admire you all the more if you set an example and finish your own homework. - Eugenia Gabrielov [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-12-2012, 21:11
JM96PWNS's Avatar
JM96PWNS JM96PWNS is offline
Registered User
FRC #0240
 
Join Date: Feb 2012
Location: United States
Posts: 15
JM96PWNS has a little shameless behaviour in the past
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!(:
Reply With Quote
  #2   Spotlight this post!  
Unread 03-12-2012, 22:01
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,557
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
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/
Reply With Quote
  #3   Spotlight this post!  
Unread 03-12-2012, 22:21
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 04-12-2012, 16:53
JM96PWNS's Avatar
JM96PWNS JM96PWNS is offline
Registered User
FRC #0240
 
Join Date: Feb 2012
Location: United States
Posts: 15
JM96PWNS has a little shameless behaviour in the past
Re: Dashboard Meter for encoder shooter rate.

Ohh thanks, I feel pretty dumb now! Much appreciated
Reply With Quote
  #5   Spotlight this post!  
Unread 19-12-2012, 22:58
Fifthparallel Fifthparallel is offline
Registered User
AKA: Sam Chen
FRC #1410
 
Join Date: Dec 2012
Rookie Year: 2011
Location: Denver, CO
Posts: 65
Fifthparallel is an unknown quantity at this point
Re: Dashboard Meter for encoder shooter rate.

Quote:
Originally Posted by Alan Anderson View Post
Since you're posting in the LabVIEW subforum, I assume you're modifying the LabVIEW Dashboard and not talking about the SmartDashboard project.
As an aside, the SmartDashboard palette which was tested in the 2013 Beta allows you to use Network Tables to send information to the Dashboard and manipulate a number of indicators there. There was a recent thread created by Tom Line from 1718 that has links to writeups with pictures of said indicators.

Last edited by Fifthparallel : 20-12-2012 at 15:16.
Reply With Quote
  #6   Spotlight this post!  
Unread 20-12-2012, 06:20
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: 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
Reply With Quote
  #7   Spotlight this post!  
Unread 22-12-2012, 21:14
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
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.
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional

Last edited by F22Rapture : 22-12-2012 at 21:31.
Reply With Quote
  #8   Spotlight this post!  
Unread 23-12-2012, 07:31
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: Dashboard Meter for encoder shooter rate.

Quote:
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.
All dashboards work with all robot languages. Perhaps the name should declare the language needed to customize and extend the dashboard.

Greg McKaskle
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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