View Single Post
  #1   Spotlight this post!  
Unread 28-01-2009, 18:28
darty darty is offline
Registered User
None #0204
 
Join Date: Jan 2009
Location: NJ
Posts: 9
darty is an unknown quantity at this point
Trouble connecting to cRIO?

Hey, new guy here, hoping smeone can point out what my team is doing wrong, I'd appreciate it. I'm a software guy so I don't know too much about the hardware configuration of the bot but if you need to know something I don't provide just let me know and I can ask someone on the team.

Basically, needing a starting point for how to program the bot, I recreated this program: http://www.blip.tv/file/1318696/ . To eliminate the chance that the wireless network was the problem, we ran an ethernet straight from the driver station to the cRIO. Also, to eliminate the chance that the computer might not be reading the joystick, we attached an indicator to the getaxis command to make sure the computer was reading the input, and it was.

Once everything was booted up and connected, the driver station read "No Code", which I assumed was normal because the program wasn't run yet. Once I ran the program, that turned into the voltage the cRIO was assuming, and I believed that meant that the ethernet cable was working and data was flowing from the driver station to the cRIO and back.

However, when the joystick is moved in the appropriate direction, the Jmotor doesn't spin. We thought maybe we were using the wrong slot, so we tried all 4 (each in a different slot on the digital side car) of the motors, but none responded. The lights on each appropriate Jaguar continued to just blink, and I am told that if they were recieving any signal from the control car, that light would turn steady. Is the team missing a connection somewhere, or is there some switch on the side car that needs to be flipped, or does something need the be initialized in the program? The team's been stuck on this for two days and we would really appreciate any help you can provide.