Go to Post A better way would be better..... - WizardOfAz [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 31-01-2015, 12:19
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,795
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: Adding a sensor reading to the dashboard

Here's an example:
The left screenshot is of Periodic Tasks in the default robot code.
The right screenshot is of the default Dashboard front panel and block diagram.
Attached Thumbnails
Click image for larger version

Name:	WriteNumber.jpg
Views:	29
Size:	44.8 KB
ID:	18071  Click image for larger version

Name:	DisplayNumber.jpg
Views:	27
Size:	165.5 KB
ID:	18072  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 31-01-2015 at 12:22.
Reply With Quote
  #2   Spotlight this post!  
Unread 31-01-2015, 12:52
RoboBucs RoboBucs is offline
Registered User
FRC #5005
 
Join Date: Jan 2015
Location: Chattanooga, TN
Posts: 69
RoboBucs is an unknown quantity at this point
Exclamation Re: Adding a sensor reading to the dashboard

Quote:
Originally Posted by Mark McLeod View Post
Here's an example:
The left screenshot is of Periodic Tasks in the default robot code.
The right screenshot is of the default Dashboard front panel and block diagram.
Actually wait, how would I wire the indicator in the custom dashboard?
Reply With Quote
  #3   Spotlight this post!  
Unread 31-01-2015, 12:58
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,795
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: Adding a sensor reading to the dashboard

No wiring is actually required.
Just the name has to exactly match.
You can see "My Number" on the bottom right of the Dashboard block diagram and that's all that is needed.

If you want to, you can explicitly read the value (just the opposite of the Write) and wire the read to the indicator.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #4   Spotlight this post!  
Unread 31-01-2015, 13:01
RoboBucs RoboBucs is offline
Registered User
FRC #5005
 
Join Date: Jan 2015
Location: Chattanooga, TN
Posts: 69
RoboBucs is an unknown quantity at this point
Re: Adding a sensor reading to the dashboard

Quote:
Originally Posted by Mark McLeod View Post
No wiring is actually required.
Just the name has to exactly match.
You can see "My Number" on the bottom right of the Dashboard block diagram and that's all that is needed.

If you want to, you can explicitly read the value (just the opposite of the Write) and wire the read to the indicator.
But in the dashboard, whenever I create an indicator in the custom tab, it makes it in the VI's of the custom dashboard and gives me an error unless I wire it to a control, or am I just doing this completely wrong?
Reply With Quote
  #5   Spotlight this post!  
Unread 31-01-2015, 13:02
RoboBucs RoboBucs is offline
Registered User
FRC #5005
 
Join Date: Jan 2015
Location: Chattanooga, TN
Posts: 69
RoboBucs is an unknown quantity at this point
Re: Adding a sensor reading to the dashboard

Quote:
Originally Posted by Mark McLeod View Post
No wiring is actually required.
Just the name has to exactly match.
You can see "My Number" on the bottom right of the Dashboard block diagram and that's all that is needed.

If you want to, you can explicitly read the value (just the opposite of the Write) and wire the read to the indicator.
Wait, nevermind, I might be the stupidest person to attempt to program in labview, I was getting a different error and I thought it related to that, so nevermind, thank you so much for the help!!!
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:52.

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