Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Dashboard Problems (http://www.chiefdelphi.com/forums/showthread.php?t=127427)

rhp3794 03-03-2014 12:00

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!

Kevin Phan 03-03-2014 12:08

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.

rhp3794 03-03-2014 12:19

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

Kevin Phan 03-03-2014 13:24

Re: Dashboard Problems
 
1 Attachment(s)
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.


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi