Go to Post "He who seeks originality will often find novelty, but not great design." - IKE [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 24-01-2012, 20:43
mickey mickey is offline
Registered User
FRC #3843
 
Join Date: Jan 2012
Location: Kentucky
Posts: 9
mickey is an unknown quantity at this point
problem getting motor control with the 2012 default code

I loaded the default 2012 Labview code to my team's last year's robot, but all of the sidecar functions (relay, DIO, PWM) do not work. I testted setting a solenoid and that turned on and off, but I could not set the pwm motor controller that was on the sidecar.

Any ideas of what I am doing wrong? The wiring seems to be correct, and I am practically using the default code.
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2012, 23:03
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: problem getting motor control with the 2012 default code

Did you rearrange the hardware modules in last year's cRIO?
Did you reimage last year's cRIO?

The digital module now belongs and is expected by the code to be in slot 2.
And the 2012 default code expects the 2012 image on the cRIO.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 25-01-2012, 23:56
mickey mickey is offline
Registered User
FRC #3843
 
Join Date: Jan 2012
Location: Kentucky
Posts: 9
mickey is an unknown quantity at this point
Re: problem getting motor control with the 2012 default code

I had the crio modules set for last years configuration ( DIO module in slot 4). I changed the DIO module to slot 2 and the robot ran just fine! Thanks.
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 11:42.

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