We are attempting to use the multiple buttons on the joystick this year for some of our pneumatics programming and are clueless. First question we have is when you are building the program, how do you identify which button is which? Also is it possible to hub the classmate, a laptop, and the cRio and work on them simultaneously so that you can see them all work?
You access the buttons from a Joystick Get. It’s done the same way as the axes. right-click on the buttons output node, choose Cluster, Class, & Variant Palette -> Unbundle by Name. place the icon you get and wire it to the buttons node on the Joystick Get.
You should see “Button 1”.
Expand the box the see more of the buttons, or use the hand to switch to a different button.
Yes, the D-Link you got in the Kit can be used this way.
You just need to keep all the IP addresses in the same 10.xx.yy.zz range.
On top of what he said if you need to know exactly which buttons you are pressing if you take that same code and run it on the robot and then probe the wire off of the Joystick DevRef Set/Get (the pink wire in the begin/teleop) it will show a table with all of the axes and buttons.