I know last year my team was able to view data in the dashboard in real time. For example, when moving a joystick, the corresponding PWM slider would change on the Digital#1 section of the dashboard. Same with solenoids and analog. I can’t figure out how to do so again though, when I run our code this year, no data at all is displayed. What can I do in LabVIEW to configure dashboard data?
Thanks in advance, and sorry if there’s some really obvious step I’ve failed to figure out.
Thanks for the link, I’ll give it a good look tomorrow.
Along the same lines, we can’t receive feedback in the vi’s themselves. Like last year, when we’d place an indicator in the front panel of the teleop vi, it would light up in accordance to the sensors on the robot. We can’t get that sort of feedback this year, from the cRIO to the laptop either. How can we enable that sort of feedback? Any help is appreciated!
This doesn’t sound too related to your first problem. It sounds like you’re talking about running the code in debug mode. Really it’s just clicking the run button in LabVIEW (the one with the arrow, which is sometimes broken to show that the VI is broken).
To run in debug mode, press the run button in Robot Main.vi (not anywhere else). This will build and download the code and link the cRIO’s processes to the computer, so you can watch them just like if you were running a normal, simple vi on your computer.
Please note that running in debug mode will not permanently download the code to the cRIO!!! If you run in debug mode and then stop the program or reboot the robot, it will remember the previous, permanent code. To really save and reuse the code, you need to build and “run as startup” from the project window, like normal.