Go to Post You are done with designing something, not when there's nothing more to add, but when there's nothing left to remove. - EricH [more]
Home
Go Back   Chief Delphi > Technical > Motors
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 17-01-2011, 12:21
KHall KHall is offline
KHall - 2171 Crown Point IN
FRC #2171 (RoboDogs)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Crown Point IN
Posts: 67
KHall has much to be proud ofKHall has much to be proud ofKHall has much to be proud ofKHall has much to be proud ofKHall has much to be proud ofKHall has much to be proud ofKHall has much to be proud ofKHall has much to be proud ofKHall has much to be proud of
Servo Example on LabVIEW -- assistance, please.

Hello,
Our programming team spent a couple hours yesterday trying to get the LabVIEW servo example working. Has anyone had success with driving servos in this environment and would be willing to ask/answer some specific questions about our setup? (i.e. help out our programmers?)

The students will be starting up again today about 1PM Central time today ( Jan 17th) and we would appreciate any experienced, knowledgeable assistance.

In the meantime, any assistance pointing towards a solution on the CD or NI websites would be appreciated.

FYI -- We've had absolutely no issues with victors, DIO, analog sensors, etc. Just can't seem to get the servo to work. Oh, and yes -- we are sure there is a jumper and we know that the servo is getting power (and otherwise appears to work). Also, I'm planning to bring in a little VEX setup to verify that the servo does work properly (rule out HW/logic issues with the servo unit itself).

Much obliged.
  #2   Spotlight this post!  
Unread 19-01-2011, 13:10
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,756
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: Servo Example on LabVIEW -- assistance, please.

One diagnostic is to try manually turning the servo shaft. If the servo has power, it will resist disturbances and return to the previous state; telling you that the breakout, jumper, and other electrical elements are working. Also, unplugging the PWM, rotating the shaft to a new location and replugging the PWM, you should see the servo going back to the same position.

If these work as expected, it is a SW issue. It may be useful to see what value the servo is moving to. If pegged on either end, it could be a units issue. I believe there used to be two servo units, an integer input meaning degrees, and function took 0 to 1. Vary the input to the servo function anyway and see if any of them work.

Greg McKaskle
  #3   Spotlight this post!  
Unread 19-01-2011, 13:46
ebarker's Avatar
ebarker ebarker is offline
Registered User
AKA: Ed Barker
FRC #1311 (Kell Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Kennesaw GA
Posts: 1,437
ebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond repute
Re: Servo Example on LabVIEW -- assistance, please.

(avoiding the creating of another thread)

If you took one of the examples in the Labview FRC examples folder, like servo, digital I/O, etc, you should be able to :

a) connect a crossover lan cable from the labview pc to the cRio
b) configure the labview pc with an address
c) configure the cRio appropriately and with an address
d) load the servo or dio project, and configure the target ip address


and hit the run arrow at the top of the VI

right ?

And the screen dialog interact with the user ?

We are going to try that in a couple of hours.
__________________
Ed Barker
  #4   Spotlight this post!  
Unread 19-01-2011, 15:37
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,901
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: Servo Example on LabVIEW -- assistance, please.

Sounds good.

You will also need to have the Driver Station running on your LabVIEW PC to enable the robot.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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


All times are GMT -5. The time now is 15:14.

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