Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Labview Servo Control Issue (http://www.chiefdelphi.com/forums/showthread.php?t=80760)

EricWilliams 21-01-2010 10:39

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?

Alan Anderson 21-01-2010 11:22

Re: Labview Servo Control Issue
 
Silly question: did you click the button on the driver station to enable the robot?

EricWilliams 21-01-2010 11:27

Re: Labview Servo Control Issue
 
Quote:

Originally Posted by Alan Anderson (Post 903889)
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.

jhersh 22-01-2010 03:01

Re: Labview Servo Control Issue
 
Quote:

Originally Posted by Ewilliams2006 (Post 903895)
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).

EricWilliams 22-01-2010 10:45

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?

Greg McKaskle 22-01-2010 14:24

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


All times are GMT -5. The time now is 01:58.

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