Quote:
Originally Posted by rich2202
Can you write code to do the following:
1) Display the value of Button 1 (or whatever button you are using) on your smart dashboard. Print "pressed" when it is pressed, and "not pressed" when it is not pressed.
2) Send a signal to extend the pneumatic. Wait 1 second. Send a signal to retract the pneumatic. Wait 1 second. Repeat.
What are your results for #1? Does it display the status of the button correctly?
What are your results for #2? Does the pneumatic extend and retract?
|
We're using Labview so we are not familiar with the java/c++ smartdashboard...However on the labview dashboard, when we press several buttons, there is a response from each of the buttons on both joysticks...I think either our begin.vi is corrupt or our teleop.vi is corrupt because only 1 red light shows up on our PCM and that is for port 1...