Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Motor Error (http://www.chiefdelphi.com/forums/showthread.php?t=100822)

farmersvilleRob 21-01-2012 16:43

Motor Error
 
We are getting this error:


Missing Module: Digital Module 1
WPI_PWMChannelCache.vi>>WPI_MotorControlOpen&Confi gurePWM.vi>>WPI_MotorControlOpen Jaguar.vi>>WPI_RobotDriveOpen2MotorWithJaguar.vi>> Begin.vi>>Robot Main.vi
<time>00:11:58 01/01/1970<unique#>3162

We are getting this error in WPI_RobotDriveRefNum Registry Get.vi Front Panel on 2012 Robot.

We're trying to get the robot to drive off of the basic program that FRC provides. The Jaguar speed controllers flash yellow. Also, the ribbon cable has been fixed.

RufflesRidge 21-01-2012 16:58

Re: Motor Error
 
Is the Digital Module that the ribbon cable is attached to in Slot 2 of your cRIO?

farmersvilleRob 21-01-2012 17:02

Re: Motor Error
 
Quote:

Originally Posted by RufflesRidge (Post 1110659)
Is the Digital Module that the ribbon cable is attached to in Slot 2 of your cRIO?

It is either in slot 1 or slot 4. We don't know which one is the front. If the ethernet port is on the right where the observer it is in the furthest slot to the left.

RufflesRidge 21-01-2012 17:04

Re: Motor Error
 
Quote:

Originally Posted by farmersvilleRob (Post 1110665)
It is either in slot 1 or slot 4. We don't know which one is the front. If the ethernet port is on the right where the observer it is in the furthest slot to the left.

It belongs in Slot 2. Slot 1 is the side with the Ethernet port on it. Move the Digital Module and see if the error clears (the green LED next to the white 2 pin header on the Digital Sidecar should also start blinking).

farmersvilleRob 21-01-2012 17:34

Re: Motor Error
 
Quote:

Originally Posted by RufflesRidge (Post 1110667)
It belongs in Slot 2. Slot 1 is the side with the Ethernet port on it. Move the Digital Module and see if the error clears (the green LED next to the white 2 pin header on the Digital Sidecar should also start blinking).

Well we got one of the motors working without fixing the physical slot. We changed something to digital module 2 but only one motor works now.

farmersvilleRob 21-01-2012 17:37

Re: Motor Error
 
Quote:

Originally Posted by RufflesRidge (Post 1110667)
It belongs in Slot 2. Slot 1 is the side with the Ethernet port on it. Move the Digital Module and see if the error clears (the green LED next to the white 2 pin header on the Digital Sidecar should also start blinking).

we also have the controlled mapped to both motors so it has to be something in labview

RufflesRidge 21-01-2012 17:43

Re: Motor Error
 
Quote:

Originally Posted by farmersvilleRob (Post 1110693)
we also have the controlled mapped to both motors so it has to be something in labview

If you have it in slot 4 you can get things working by using Digital Module 2 in LabVIEW, but per the rules you must have a Digital Module in Slot 2 of the cRIO so you might as well move it now.

farmersvilleRob 21-01-2012 17:57

Re: Motor Error
 
Quote:

Originally Posted by RufflesRidge (Post 1110697)
If you have it in slot 4 you can get things working by using Digital Module 2 in LabVIEW, but per the rules you must have a Digital Module in Slot 2 of the cRIO so you might as well move it now.

Just mioved it and the same problem, however we were seeing the PWM outputs both times and nothing was happening so we replaced the non moving jaguar and nothing is working again. Both sides are jaguars by the way.

Tried putting from PWM 1 and 2 to PWM 1 and 3 for both motors. PWM 1 is the working one


All times are GMT -5. The time now is 11:36.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi