Go to Post There's the problem!! The #1 reason to blame the programmers: They always forget to grease their code. :rolleyes: - Jack Jones [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-01-2012, 16:43
farmersvilleRob's Avatar
farmersvilleRob farmersvilleRob is offline
Registered User
FRC #4084
 
Join Date: Jan 2012
Location: Farmersville
Posts: 172
farmersvilleRob is infamous around these parts
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-01-2012, 16:58
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Motor Error

Is the Digital Module that the ribbon cable is attached to in Slot 2 of your cRIO?
Reply With Quote
  #3   Spotlight this post!  
Unread 21-01-2012, 17:02
farmersvilleRob's Avatar
farmersvilleRob farmersvilleRob is offline
Registered User
FRC #4084
 
Join Date: Jan 2012
Location: Farmersville
Posts: 172
farmersvilleRob is infamous around these parts
Re: Motor Error

Quote:
Originally Posted by RufflesRidge View Post
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 21-01-2012, 17:04
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Motor Error

Quote:
Originally Posted by farmersvilleRob View Post
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).
Reply With Quote
  #5   Spotlight this post!  
Unread 21-01-2012, 17:34
farmersvilleRob's Avatar
farmersvilleRob farmersvilleRob is offline
Registered User
FRC #4084
 
Join Date: Jan 2012
Location: Farmersville
Posts: 172
farmersvilleRob is infamous around these parts
Re: Motor Error

Quote:
Originally Posted by RufflesRidge View Post
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 21-01-2012, 17:37
farmersvilleRob's Avatar
farmersvilleRob farmersvilleRob is offline
Registered User
FRC #4084
 
Join Date: Jan 2012
Location: Farmersville
Posts: 172
farmersvilleRob is infamous around these parts
Re: Motor Error

Quote:
Originally Posted by RufflesRidge View Post
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
Reply With Quote
  #7   Spotlight this post!  
Unread 21-01-2012, 17:43
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Motor Error

Quote:
Originally Posted by farmersvilleRob View Post
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.
Reply With Quote
  #8   Spotlight this post!  
Unread 21-01-2012, 17:57
farmersvilleRob's Avatar
farmersvilleRob farmersvilleRob is offline
Registered User
FRC #4084
 
Join Date: Jan 2012
Location: Farmersville
Posts: 172
farmersvilleRob is infamous around these parts
Re: Motor Error

Quote:
Originally Posted by RufflesRidge View Post
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
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:24.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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