Go to Post In FIRST you have the right to remain silent, anything you say can and will be held against you and your associates in the court of public opinion. - Koko Ed [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 06-12-2008, 22:18
Peter Randall Peter Randall is offline
Director of Technology
FRC #1218 (Vulcan Robotics)
Team Role: Teacher
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Philadelphia
Posts: 37
Peter Randall will become famous soon enoughPeter Randall will become famous soon enough
Labview Dashboard

OK, so we've finished the benchmark tests and have installed the cRIO in last year's BetaBot. We got it running well using the default FRC VIs and are now working on sensors and solenoids. As we have experimented with the FRC framework, we have been using the Dashboard to montor inputs. Our question is, how do you add user data such as the output from a gyro or wheel encoder to the dashboard? We can see the raw input, but want to display the processed data which is significantly more informative. Any good ideas?

PGR
__________________
Peter Randall
Chairman, Department of Engineering & Robotics
Springside Chestnut Hill Academy
TEAM 1218
Reply With Quote
  #2   Spotlight this post!  
Unread 06-12-2008, 22:29
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Labview Dashboard

Peter,

Your best bet is to add a few display controls to the Front Panel of your actual FRC cRIO project. By default it should only have a single button entitled "Enable Camera." But you are free to add whatever sliders, dials, display, and even "water tanks" that you please. You will be free to hook up these displays to your post-processed sensor values, and they should update quickly enough to be useful.

Although this is all completely separate from the dashboard, it's all still very useful.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
Reply With Quote
  #3   Spotlight this post!  
Unread 06-12-2008, 22:45
Peter Randall Peter Randall is offline
Director of Technology
FRC #1218 (Vulcan Robotics)
Team Role: Teacher
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Philadelphia
Posts: 37
Peter Randall will become famous soon enoughPeter Randall will become famous soon enough
Re: Labview Dashboard

While that certainly works in temp deployed mode, if you are running in fully deployed mode on the cRIO as I believe we will have to do in competition, how can you see the front panel from the cRIO app - it doesn't actually run on the PC anymore. I presumed that you would have to run the separate Dashboard app on your PC and use the data transfer between the cRIO and the PC to display live data. It works with the raw data and the camera "out of the box" but how can we add our own data to the data stream.

PGR
__________________
Peter Randall
Chairman, Department of Engineering & Robotics
Springside Chestnut Hill Academy
TEAM 1218
Reply With Quote
  #4   Spotlight this post!  
Unread 07-12-2008, 10:29
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: Labview Dashboard

You can use the Set User Data VI to send data to the dashboard. However, there is a bug right now which means that if you use that VI, all dashboard data stops. NI knows about it, and it will hopefully be fixed in the next update.

Take a look at the code 1629 posted on the FIRST forums for an example of how to pack the data for sending to the dashboard.

For right now, run in ram, but in the future, use that VI for sending dashboard data.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
ROBOT C and the LabVIEW Dashboard robogeek753 Programming 5 20-02-2008 11:30
Labview Video Tutorial? Dashboard Chris_Elston National Instruments LabVIEW and Data Acquisition 21 25-01-2008 00:29
Labview Dashboard and updated IFI dashboard spec Joe Ross LabView and Data Acquisition 1 04-04-2006 02:04
LabView Dashboard brummer_13 LabView and Data Acquisition 7 08-02-2006 21:43
LabView Dashboard Problems brummer_13 LabView and Data Acquisition 11 01-02-2006 20:13


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

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