Log in

View Full Version : Getting Info from the robot on the dashboard


Itamar
17-02-2010, 17:02
Hello,
We want to get information on the dashboard project from the robot.
I know there is some information I can already get on it like the Camera image, Camera target, gyro Angle and Joystick X.
I want to know how to have any information i want to display on the dashboard, both electronic componnets information and even variables which we create.
If that is possible I would realy like to know how.
Thank you.

Greg McKaskle
18-02-2010, 06:22
http://www.lvmastery.com/TipJar2009-02-10

or

http://decibel.ni.com/content/docs/DOC-8862

may help.

Greg McKaskle

Itamar
18-02-2010, 11:04
Thank you very much, it helped and it works now.
However the speed it takes the dashboard to update my indicator is very slow, and I am sure it can be improved.
The X value of the joystick which the dashboard gets from the default code is being updated almost instantly.
If someone knows how to raise the updating speed I would realy like to know.
I have attached a dashboard project and a robot project which contain this piece of code, so if you can check what I did wrong it would be great.

Greg McKaskle
18-02-2010, 12:56
By default, the robot code for LV only updates the dashboard twice a second. If you want to speed it up, you can make modifications to the team VI called Build Dashboard Data. The easy edit is to the right hand side of the loop where it updates on call 0 and 25. Add a few other numbers there to achieve the frames where you wish to transmit.

Greg McKaskle