Log in

View Full Version : crio dashboard GPIO output


darkorbit
08-02-2010, 18:56
How do you get the dashboard to should active GPIO output?

PapaRobocat
08-02-2010, 19:00
We are having trouble getting our robot function at all. The speed controlers wont work and the signal light is going out when the robot is enabled. in short all the signal lights on the robot (jaguars,spikes, and sidecar) and the air compresser are going off at the same time. the driver station is saying watchdog not fed at the same time as the lights go out. I am out of ideas as to what the problem is.

Mark McLeod
08-02-2010, 19:31
I got Mr. Rogers' email.

Are you sure you're using a fully charged battery?

TPNigl
08-02-2010, 20:22
Yes, we were using a fully charged battery

Mark McLeod
08-02-2010, 20:33
Sorry, that was addressed to that 2nd off-topic post.

To get the GPIO to show on your Dashboard you'll need to add the GPIO values into the Dashboard feed in your code on the cRIO.

What language are you using?

TPNigl
08-02-2010, 21:26
Sorry, that was addressed to that 2nd off-topic post.

To get the GPIO to show on your Dashboard you'll need to add the GPIO values into the Dashboard feed in your code on the cRIO.

What language are you using?

Whoops, sorry about that. We're using java. How exactly do you add the GPIO values into the Dashboard feed?

Mark McLeod
08-02-2010, 21:55
Check the Java examples for use of the Dashboard classes, such as, DashboardDataSender.

darkorbit
09-02-2010, 06:23
Thanks for your time. I found how to do it in the manual xD last night.

TPNigl
09-02-2010, 15:29
Yea, thank you very much. We used the default code you suggested and it worked. Thanks!