Go to Post What is it about inefficient design and operation that either pushes the envelope or deserves to be awarded? - Madison [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 15-02-2014, 08:59
Dackarobot Dackarobot is offline
Registered User
FRC #2905
 
Join Date: Jan 2014
Location: Turkey
Posts: 7
Dackarobot is an unknown quantity at this point
Displaying variables on the dashboard

Hi,

we want to display the output of our Maxbotix LV-MaxSonar-EZ1 ultrasonic distance sensors on the dashboard. We used "SD Write Numeric Array" to write two output values as an array in Teleop.vi, and "SD Write Numeric Array" to get the values Dashboard Main.vi.

How can we make FRC Driver Station run the dashboard we created?
Attached Thumbnails
Click image for larger version

Name:	teleop-ultrasonic.png
Views:	51
Size:	11.1 KB
ID:	16236  Click image for larger version

Name:	dashboard-ultrasonic.png
Views:	44
Size:	31.5 KB
ID:	16237  
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2014, 09:09
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Displaying variables on the dashboard

By default the Driver Station starts the Dashboard located in
C:\\Program Files\FRC Dashboard
with the default name of "Dashboard.exe"

You can replace this default dashboard with your own by renaming yours and placing it in that location.

Alternatively, not practical unless your Driver Station is also your Programming laptop,
The LabVIEW button on the Driver Station Setup tab looks in:
My Documents\LabVIEW Data\builds\FRC Dashboard Project\FRC PC Dashboard\Dashboard.exe

Alternatively, alternatively, there is an .ini file that specifies the Dashboard name, located in:
Public Documents\FRC\FRC DS Data Storage.ini
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 15-02-2014 at 09:12.
Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2014, 14:43
Dackarobot Dackarobot is offline
Registered User
FRC #2905
 
Join Date: Jan 2014
Location: Turkey
Posts: 7
Dackarobot is an unknown quantity at this point
Re: Displaying variables on the dashboard

Thank you for the tip. It helped us solve our problem with displaying our own dashboard.

What about our code? The one that we wrote to display our distance values on the dashboard, is that true?

Any help is appreciated...
Reply With Quote
  #4   Spotlight this post!  
Unread 16-02-2014, 15:42
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,752
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: Displaying variables on the dashboard

Looks fine to me.

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 20:54.

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