03-03-2010 10:03 AM
I do understand the philosophy behind a servo i just don't how to accomplish it with labview, i am a real neophyte with this program.
right now i have the x axis wired to the input angle node of the set angle servo, the PWM device ref of the set angle wired to the pwm device ref of the servo get angle, and the angle output of the get angle wired to nothing. Can you tell me specifically how and where the wires go?
thanks much
03-03-2010 10:06 AM
Add the output of Get Angle to the joystick value.
03-03-2010 10:24 AM
do i just wire it to the x axis wire that i used to wire to the set angle?
or if not how to i do that?
thanks
03-03-2010 10:34 AM
You might at this point consider looking at the LabVIEW help or some of the many tutorials... you could have found the the Add function in less time than it took to post.
Right-click on the block diagram, go to the Numeric palette, and you'll see an Add function (a triangle with a + in it). Drop one of those on your block diagram and wire it up.
03-03-2010 10:50 AM
ok well i have got to tell you i am not too happy with the way you are treating this help page, all i am asking is for guidance not a critiquing by you.
I told you i am a neophyte with this stuff, with the 6 emails i have sent you i agree in the time factor, I guess i am not sure why you resist in just telling me how to do it. In one email response from you i think you could have easily told me how to wire it not just say do it.
Maybe i am expecting too much from this help.
Most of us are teachers FULL time and do not have the luxury of just noodling around to figure out this stuff, it is not like i am asking you to do a major rewrite or anything.
so at this point if you could tell me how to wire the function if not please pass me onto Olivia as she has been very helpful in the past without making one feel like an idiot.
sincerely john
03-03-2010 11:05 AM
Hi John - I'm sorry for your frustration. I made the assumption that you were a student asking for help with this, and I encourage students to think through and experiment rather than asking over and over again for assistance. I contribute to this forum as a volunteer, in no way affiliated with NI, so I can't pass you off to anyone else; the only thing I can do is stop replying and you can wait for someone else to respond.
I don't think I can be too much more specific than I was in the previous message as to how you would add two numbers together in LabVIEW. You connect one input to Get Angle, another to the Joystick value, and the output to Set Angle. You may need to multiply the joystick value by some value (you'll have to experiment to see what works) if the servo moves too slow or too fast.
03-03-2010 11:18 AM
Thankyou for replying. I am sorry i was under the impression that you worked for NI. I was told
this site was the NI support line for FIRST. Thanks for your info, and i will try to
muddle around and find out what to do.
I know some about this softward but have spent an incredible amount of time trying to get up to speed.
Even the tutorials are good but I am trying to get a grasp on this
Thanks much for your iuput.
03-03-2010 12:20 PM
Me again i want to thank you for your help, i understand what to do now and it works.
I would again like to apologize for my email. I hope you will once again respond when the
time comes for more help as i know it will
thanks again
03-03-2010 02:07 PM
I've attached the code that we created as part of the beta testing of last years robot using this years software. In the teleop.vi you will find a piece of code that takes the joysticks and centers them between an upper and lower limit value when you first enable the code and then upon the press of a button will stop you from being able to drive but will allow you to move the cameras by joystick.
03-03-2010 04:27 PM
thanks much i will check it tonight
thanks again!