|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Reading battery power on Driver station.
Anyone mind telling me how to change the v00.00 to the actual battery voltage?
|
|
#2
|
||||
|
||||
|
Re: Reading battery power on Driver station.
Do you have the Analog Breakout hooked up on slot 1? The battery voltage is measured on channel 8.
|
|
#3
|
|||
|
|||
|
Re: Reading battery power on Driver station.
Is that the object in the cRIO that says analog in?
If so, please give us exactly what to do. We're a new team, and everyone is gone but the programmers. I'm the only electrical left, and I feel like doing something to show others tomorrow. |
|
#4
|
|||
|
|||
|
Re: Reading battery power on Driver station.
I placed a jumper on the thing that says Analog In in slot 8 and restarted. The driver station now says no code. The programmers are too busy changing the code's comments and stuff so it looks like a drunk guy wrote it, so should it say anything other then no code?
|
|
#5
|
||||
|
||||
|
Re: Reading battery power on Driver station.
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:
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. Last edited by MattD : 26-01-2009 at 22:49. |
|
#6
|
|||||
|
|||||
|
Re: Reading battery power on Driver station.
Dig,
The Crio and drivers station must have compatible code running. If you (or the software team) updated the Crio and did not update the DS you will have problems. Please be aware there is a specific method for updating code especially on the DS. Do not interupt the operation when flashing the DS See p6 of the control system manual. This operation will also change your team ID so that will need to be reset after each software upgrade. |
|
#7
|
||||
|
||||
|
Re: Reading battery power on Driver station.
The jumper goes on channel 8 but which two prongs. Sig and + or + and - ?
|
|
#8
|
|||||
|
|||||
|
Re: Reading battery power on Driver station.
Quote:
Quote:
|
|
#9
|
|||
|
|||
|
Re: Reading battery power on Driver station.
Please read the manual. You are at risk of damaging components.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dead Driver Station? | tdeprince | FRC Control System | 3 | 12-02-2009 12:14 |
| Driver Station Update | ExarKun666 | FRC Control System | 8 | 15-01-2009 10:39 |
| Driver Station Login | Mr-Shutter | FRC Control System | 2 | 12-01-2009 23:36 |
| 2nd Driver Station | bcharbonneau | General Forum | 2 | 09-01-2009 14:19 |
| Reading battery voltage in software | RbtGal1351 | Programming | 17 | 21-10-2007 13:07 |