FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Dashboard - Want to show ultrasonic sensor distance

Solved!
Go to solution

In looking at the dashboard tutorial, I tried to add an ultrasonic distance sensor to be able to read on the gyro gauge dial (used it because it was already there), but could not get it to update to the gauge? Just need help placing the sub vi.s. See my attempt at where things go.

0 Kudos
Message 1 of 2
(4,751 Views)
Solution
Accepted by topic author gto70ski

It looks to me like you are calling robot (ultrasonic) VIs in your dashboard code.  That won't work.  I would suggest you go to the Tutorials tab on the LabVIEW Getting Started Window and look at Tutorial 7 - Integrating Examples into Robot Code.  Part 2 of that tutorial shows how to send data from your robot to the dashboard.

0 Kudos
Message 2 of 2
(2,773 Views)