Go to Post You don't see teams plastering the arena with signs saying "Show your spirit!" or "Be creative in your robot design!" or "Be sure to be innovative in your control!" - Mr. Van [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-01-2010, 10:39
EricWilliams EricWilliams is offline
Registered User
FRC #2039 (Rockford Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2001
Location: Rockford, IL
Posts: 102
EricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of light
Unhappy Labview Servo Control Issue

We're experiencing problems controlling servos using the KOP servo and Labview. We connected the servo (PWM6, black wire facing out, jumper pin inserted) to the digital sidecar (DIO Slot 4) and ran the "Servo Example". The project deploys and the cRIO communicates with our laptop, but moving the servo control indicator does nothing.

All three power status lights are on. When we short the associated 6V power enable pins on the DSC using a screw driver, the servo jumps a single step and then goes dead again. The shorting jumper we used is definitely electrically sound, and is shorting the pins.

Is this a fried DSC? What debugging should we do, and what steps should we take to ensure not to fry another?
  #2   Spotlight this post!  
Unread 21-01-2010, 11:22
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Labview Servo Control Issue

Silly question: did you click the button on the driver station to enable the robot?
  #3   Spotlight this post!  
Unread 21-01-2010, 11:27
EricWilliams EricWilliams is offline
Registered User
FRC #2039 (Rockford Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2001
Location: Rockford, IL
Posts: 102
EricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of light
Re: Labview Servo Control Issue

Quote:
Originally Posted by Alan Anderson View Post
Silly question: did you click the button on the driver station to enable the robot?
Thanks for the quick response. Does this apply to Labview "Example" VI's that are directly deployed and run from the programming computer? If so, then the question was far less silly than the answer will be.

As a side note, the reason we went back tot he "Servo Example" VI is because we could not control the servo to work in a full robot code deply.
  #4   Spotlight this post!  
Unread 22-01-2010, 03:01
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Labview Servo Control Issue

Quote:
Originally Posted by Ewilliams2006 View Post
Thanks for the quick response. Does this apply to Labview "Example" VI's that are directly deployed and run from the programming computer? If so, then the question was far less silly than the answer will be.
The driver station must be enabled for any code of any kind to produce any actuation. Actuation includes servos, solenoids, and speed controllers (PWM or CAN).
  #5   Spotlight this post!  
Unread 22-01-2010, 10:45
EricWilliams EricWilliams is offline
Registered User
FRC #2039 (Rockford Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2001
Location: Rockford, IL
Posts: 102
EricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of light
Re: Labview Servo Control Issue

This fixed the problem. So essentially this means that running VI's real-time from the DS in the developer account is impossible?
  #6   Spotlight this post!  
Unread 22-01-2010, 14:24
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Labview Servo Control Issue

You can run the driver station from the developer account using the Start menu. If there is not a shortcut in the Start menu, the exe is in the program files directory in a folder called FRC Driver Station. Make your own shortcut and put it onto the desktop or wherever you like.

Greg McKaskle
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Labview servo programming Delvadar NI LabVIEW 9 01-02-2010 20:29
[OCCRA]: Servo issue at competition brickmaster2 OCCRA Programming 2 26-10-2009 16:53
[FTC]: LabView servo issue Abra Cadabra IV FIRST Tech Challenge 1 02-02-2009 13:44
servo Twiching in Labview Sykan NI LabVIEW 2 15-01-2009 10:46
Dean's Homework - Read the May 2008 Issue of Servo Magazine! basicxman General Forum 2 29-01-2008 18:07


All times are GMT -5. The time now is 10:07.

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