Need Help Sending Data to Dashboard

Hello all,

I’m trying to modify the dashboard .vi to display additional data from the robot, but I’m having difficulty figuring out how to modify the packet definition (on the dashboard end - we’re using Java for the Robot code). In the “Dashboard Tutorial 2011” document, it says I need to modify Dashboard Datatype.ctl, but my project doesn’t contain this file. Instead, I have a file called DStoPCPacketTypeDef.ctl, which only seems to contain digital data, although I can see single-precision floating point values in the cluster when I look at the Dashboard Main.vi back panel.

Am I just confused? Or do the instructions in the tutorial .pdf not exactly match what I’m supposed to do?

I’ve installed the update (FRCLabViewUpdate3.0).

Any ideas?

Thanks for your help!

-Kerry

Dashboard Datatype.ctl exists in the robot project, but not in the Dashboard project. Instead of a datatype .ctl, the Dashboard uses a cluster constant by default. Adding to that constant is possible, but it’s a bit tedious getting things in the proper nested subcluster locations.

Modifying the .ctl isn’t quite as hard as modifying the constant, but if you’re only going to be adding things once, it might not be worth the trouble to copy over the Dashboard Datatype.ctl and replace the existing cluster constant with something like a local variable. I’d just go ahead and add elements to the constant.

Alan - thanks! I am now able to send data back to the driver station and display it on the dashboard. This was exactly the information I needed!

-Kerry