![]() |
how do i wire the vi's in the teleop vi to program bttons to the arm
:) help please.
|
Re: how do i wire the vi's in the teleop vi to program bttons to the arm
You keep asking nebulous questions that we can't answer without knowing what you want to do. Nobody here has any information about what motors are connected to your arm, or what its mechanical design is. Only you can decide what buttons you want to assign to which functions.
If you want to know how to make a motor move when you press a button, then ask that. If you want to know how to make a motor drive an arm to a specific position and hold it there when you press a button, then ask that. If you want to know how to read a Joystick button in LabVIEW, then ask that. The basic idea here is that you need to ask specific questions about how to accomplish a specific task. |
Re: how do i wire the vi's in the teleop vi to program bttons to the arm
motor or servo move when you press a button, i don't care about anything else. that is what i've been asking the whole time.
|
Re: how do i wire the vi's in the teleop vi to program bttons to the arm
Quote:
If you want a servo to move, you have to change the PWM value you're sending to it. That's usually done using the Servo Set Angle function. It will go to the commanded location and stay there until you change the PWM value again. To power a servo, you must install the "servo power" jumper next to the PWM connector on the Digital Sidecar. What motor are you intending to control? Will you want to be able to vary its speed, or will it be sufficient to have it change from off to full speed one way or the other? Simple on/off control can be done using a Spike relay module. To have variable speed, you must use a Jaguar or Victor speed controller. Note that the CIM and Fisher Price motors can't be controlled using a relay; they MUST be connected to a speed controller. Do you know how to read the value of a button? Do you know how to define a motor using the Motor Open and SetRefNum functions? Do you know how to use the Motor GetRefNum and Set Output function? Finally, have you ever looked at the tutorials on the http://www.frcmastery.com/ web site? I think they'd help you a lot. |
Re: how do i wire the vi's in the teleop vi to program bttons to the arm
and what about vex's
|
Re: how do i wire the vi's in the teleop vi to program bttons to the arm
and if you can send me a basic diagram of what a program that says 'if this button is hit, this servo moves', that would be great. this is exactly what i have been looking for.
|
Re: how do i wire the vi's in the teleop vi to program bttons to the arm
Quote:
Please recognize that I'm trying to help you. You're just not making it easy for me to figure out what you want. If you answered the direct questions that are directed at you, you could get much better assistance. I also think it would be great if you made an effort to use complete sentences. |
Re: how do i wire the vi's in the teleop vi to program bttons to the arm
how do i program a vex to move when i hit a button
|
Re: how do i wire the vi's in the teleop vi to program bttons to the arm
Quote:
There's a real lack of communication going on, and I don't think I can do any more than I already have. If someone else wants to try to find out what Ian needs help with, please go ahead. It's never a good thing when someone in search of help doesn't find it. |
Re: how do i wire the vi's in the teleop vi to program bttons to the arm
all right thanks.:)
|
Re: how do i wire the vi's in the teleop vi to program bttons to the arm
we are a rookie team so everything is very confusing.:confused: and this is my first year with labview while i have programed in c++ before so that makes a difference.
|
Re: how do i wire the vi's in the teleop vi to program bttons to the arm
You need to pay attention to motor connections and speed controller connections for any wiring. after that you need to unbundle the joystick controller for buttons and axis information. Once you unbundle the buttons you can use boolean expressions to generate numerical data to connect to a drive or motor vi. Be careful about the compatibility of the sockets. You cannot wire a boolean socket to a numerical one. Have fun.
Mr. Anderson is also right. Make your questions specific also provide some details about wiring (on the robot). |
Re: how do i wire the vi's in the teleop vi to program bttons to the arm
do i put those in a case structer.
|
Re: how do i wire the vi's in the teleop vi to program bttons to the arm
and which boolean exprssion, does it matter?
|
Re: how do i wire the vi's in the teleop vi to program bttons to the arm
YES!!!!!!! I GOT IT!!!!!!!!:) :D :D :D :D THHHHHHAAAAAAANNNNNNKKKKKK YYYOOOUUU!!!!!!!!
|
| All times are GMT -5. The time now is 09:16. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi