Go to Post Great things don't just happen to HoF teams; HoF teams make great things happen. - Siri [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 13-02-2010, 00:53
mcristina444 mcristina444 is offline
Registered User
FRC #2078 (Robotic Ooze)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Covington, LA
Posts: 27
mcristina444 is an unknown quantity at this point
Re: Camera servo

Thanks for all the quick replies! sorry i cant take screen shots of the programming i have already done. what i basically set up was button 8 going into a case structure. (in true) i called up the Get angle then added 10 to it the put that value into Set Angle. it showed a red dot at Set angle. we deployed this code and nothing happened. is there a way to fix the red dot or should we use another Vi such as Set Position and Get position?
Also i did get the Throttle to work. all we added was a negate because it was backwards.
Again thanks for all the help. This is the second year I have been on the team and i am already the head programmer on my team.
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2010, 08:35
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: Camera servo

Quote:
Originally Posted by mcristina444 View Post
i called up the Get angle then added 10 to it the put that value into Set Angle. it showed a red dot at Set angle. we deployed this code and nothing happened. is there a way to fix the red dot or should we use another Vi such as Set Position and Get position?
The dot is because Get Angle provides an unsigned 16 bit integer, and Set Angle wants a signed 32 bit integer. They are compatible, but not identical. You are right to be concerned about it, but this particular red dot is to be expected and causes no problems.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2010, 09:36
mcristina444 mcristina444 is offline
Registered User
FRC #2078 (Robotic Ooze)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Covington, LA
Posts: 27
mcristina444 is an unknown quantity at this point
Re: Camera servo

Quote:
Originally Posted by Alan Anderson View Post
The dot is because Get Angle provides an unsigned 16 bit integer, and Set Angle wants a signed 32 bit integer. They are compatible, but not identical. You are right to be concerned about it, but this particular red dot is to be expected and causes no problems.
If there is compatibility then why isnt our robot responding? do i need to add a converter Vi in between that? or is there something else wrong with our code?
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2010, 00:43
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: Camera servo

Quote:
Originally Posted by mcristina444 View Post
If there is compatibility then why isnt our robot responding?
I don't know why your robot is not responding. You haven't given enough information about how you're trying to make it do what you want it to.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programing servo in Axis camera 206 frcchile NI LabVIEW 6 18-01-2009 08:53
Camera servo trouble Demothesis Electrical 5 27-01-2007 17:15
Camera Servo Problems pi_guy578 Programming 2 28-01-2006 13:17
Servo Strain With Camera DanDon Motors 6 13-02-2005 08:49
Camera Servo Obi Programming 2 30-01-2005 17:09


All times are GMT -5. The time now is 11:52.

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