Go to Post You will find that most people in good companies are real people that share the same values and concerns as all of us. - ebarker [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 14-02-2014, 17:41
Clancularius's Avatar
Clancularius Clancularius is offline
Registered User
FRC #1723 (FBI)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Independence, MO
Posts: 3
Clancularius is an unknown quantity at this point
Reading Dashboard Variables in Auto

The autonomous that I have written depends on various boolean variables in a custom dashboard I built (in a new FRC Dashboard Project). The problem is, I'm getting no value for any of those variables in the autonomous. I am using "SD Read Boolean" to call those variables, but it does nothing? For now, I will just have to put those controls on the autonomous front panel, but I would of course like to be able to call variables from the dashboard. Any help would be greatly appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2014, 17:57
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,113
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: Reading Dashboard Variables in Auto

Are you writing the variables explicitly, or are you relying on the LabVIEW Dashboard framework to set them for you? Where on the Dashboard did you place the controls that you're trying to connect to the Smart Dashboard variables?
Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2014, 09:09
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: Reading Dashboard Variables in Auto

I'm still not certain where the Boolean controls were, but by default the attached image shows that the code binds the Auto and Operation tabs and no others. Your choices are to put the controls into one of those two tabs, add a tab to the binding array, or use an explicit write operation in the top loop ( like how the joysticks are updated ).

Greg McKaskle
Attached Thumbnails
Click image for larger version

Name:	From Clipboard.png
Views:	30
Size:	40.2 KB
ID:	16247  
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:58.

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