Go to Post [*]"Dewtoxification" is a real plague among teenagers. - JesseK [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 09-12-2010, 19:12
team3329 team3329 is offline
Registered User
None #3329
 
Join Date: Mar 2010
Location: Kingsland Ga
Posts: 34
team3329 is an unknown quantity at this point
Servo Help

Since March I have been trying to develop a proper code for the servos. Recently I have been watching Labview tutorials from the FRC Mastery Tip Jar videos (http://www.lvmastery.com/tipjar) and have learned a great deal about clusters and creating codes via a typedef - in fact that is where I have gotten the idea to link up my objects and such. I have created a project and inside the begin VI i have created a separate typedef from the MatchInfo.ctl (for debugging purposes) and put a servo dev type into this cluster. I then linked it to the Teleop Vi where I used a unbundle by name to access this servo and then developed a code that would set the angles based on inputs from the controller. When I run this code nothing happens and all I get is an error that tells me that there is an improper refnum get. Must I use the refnum get and set for the latest Labview projects? Also, I am only trying to run one servo, not two so I don't need a splitter (if any clarity on this could be issued that would be great) and I have assumed that the black wire (i have black,red,yellow) is negative and have plugged it into the proper port on the PWM channel. If any one could help me on getting these darn things to work that would be helpful. Thanks
 


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
Servo help Cody Ryu Programming 1 25-01-2010 21:58
Servo Help GunfighterJ Programming 1 09-01-2009 17:12
Servo Help Newzealand38 Programming 10 13-01-2008 23:14
Servo Help Chase Programming 1 06-02-2006 17:53
Servo Help Dominator_Legen Motors 3 11-03-2005 19:50


All times are GMT -5. The time now is 03:23.

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