The first slot on the cRIO should have an NI 9201 Analog Input module plugged in. The Kit of Parts includes two Analog Breakouts, as described in section 3.4 of the
FRC Control System Component Data Sheets. That section should contain all of the information you need to install the Analog Breakout and get things working.
Make sure to note this detail:
Quote:
How do I measure the battery voltage using the Analog Breakout?
• Use a shunt (jumper) to connect the outer two pins of the “AI8 Select” connector
• Battery voltage is reduced to ~40% of its actual value by a 680/1k voltage divider and
filtered by a 0.1uF capacitor.
|
Edit:
No Code seems to indicate that there is no user program running on the cRIO. There's probably nothing deployed, so your program isn't running on startup. In WindRiver you can deploy your program using the FIRST->Deploy menu, but I'm not sure how to do this in LabView.
If you run/debug your program in RAM, you should see the battery voltage on the Driver Station, provided everything is set up correctly.