Go to Post My students want me to confirm if they're only allowed one submission per team? (Apparently they've gotten a sudden wave on linguistic inspiration...) - Siri [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-03-2014, 12:00
rhp3794 rhp3794 is offline
Registered User
no team
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Mexico
Posts: 50
rhp3794 is an unknown quantity at this point
Dashboard Problems

Hi everyone!

my team and i got problems with programming the dashboard we want to put the sensors in the dashboard, but when run the dashboard as we want to, the program crushes and we need to reboot the computer.

we want a distance sensor.

What can we do? HELP!
__________________
Programming Leader
Team 3794
WinT
Reply With Quote
  #2   Spotlight this post!  
Unread 03-03-2014, 12:08
Kevin Phan's Avatar
Kevin Phan Kevin Phan is offline
College Student
FRC #0357 (Royal Assault)
Team Role: Alumni
 
Join Date: Apr 2013
Rookie Year: 2010
Location: PA, United States
Posts: 95
Kevin Phan will become famous soon enoughKevin Phan will become famous soon enough
Re: Dashboard Problems

Did you create an .exe file for your dashboard or are your running it in the labview project? You used the smartdashboard vis to write your values from your robot and read it on your dashboard? Some more information about the sensor you're using for distance would help and some screenshots of what is happening would help.
Reply With Quote
  #3   Spotlight this post!  
Unread 03-03-2014, 12:19
rhp3794 rhp3794 is offline
Registered User
no team
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Mexico
Posts: 50
rhp3794 is an unknown quantity at this point
Re: Dashboard Problems

We ran it in labview.
the real question is what do we should put on the program to establish comunications with the sensor?
which is a maxbotix lv max sonar ez
__________________
Programming Leader
Team 3794
WinT
Reply With Quote
  #4   Spotlight this post!  
Unread 03-03-2014, 13:24
Kevin Phan's Avatar
Kevin Phan Kevin Phan is offline
College Student
FRC #0357 (Royal Assault)
Team Role: Alumni
 
Join Date: Apr 2013
Rookie Year: 2010
Location: PA, United States
Posts: 95
Kevin Phan will become famous soon enoughKevin Phan will become famous soon enough
Re: Dashboard Problems

In the wpi libraries there should be a section called dashboard and in there you will find write vis and read vis. The write vis will create a variable to the dashboard. In the dashboard block diagram, use the read vi to access the variable. There is a vi called the network/dashboard server. When the write vi is used it creates a reference in the server and when you use the read vi, it accesses it. Here's a screenshot of how to write and read your value. The write vi and get vi for your ultrasonic should be placed in a loop in periodic tasks. In the dashboard the read vi should also be placed in a loop.
Attached Thumbnails
Click image for larger version

Name:	2014-03-03_132042.png
Views:	17
Size:	2.7 KB
ID:	16470  
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:16.

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