|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Hello everyone,
My team is using the Victor motor for our arm. We did the programmation, but it doesn't work. We added the same vi's (Begin, Set, Get, Set Refnum, Get Refnum and Close). And also, what is the signification of the red light on the Victor? Here's three print screen about our arm with Victor with LabView: ![]() ![]() ![]() Thank you very much! Last edited by hapenkop : 15-03-2010 at 17:57. Reason: Wrong image |
|
#2
|
|||||
|
|||||
|
Re: Using the arm with VICTOR motor
Quote:
I recommend you place one case structure inside the other and explicitly define what you want to happen in all 4 possible conditions (Only #1 pressed, Only #5 pressed, Both pressed, neither pressed). If you need help understanding how to nest the case structure or how it works with one inside the other feel free to post here and I will explain further. EDIT: Also without seeing the "true" Case for the case structures we can't tell what will happen when you actually do push the buttons. If you want to continue down this path and not nest them as I suggest above we'll need to see the "True" cases and we'll also need a description of what you want the code to do (IE. Power the motor at 50% reverse when button #1 is pressed and power at 50% forward when button #5 is pressed) Last edited by Vikesrock : 15-03-2010 at 18:29. |
|
#3
|
||||
|
||||
|
Re: Using the arm with VICTOR motor
Quote:
You are correct. With no buttons pressed, the motor is sent both 0 and -.5. My bad. |
|
#4
|
|||
|
|||
|
Re: Using the arm with VICTOR motor
Hi,
First of all thanks for the answer. Actually what, we would like to do is basically simple. We first use a spike to control our electric motor, but it appeared we are not allowed to use a spike. So we putted a victor instead. So all our code has to change. After we wrote our code, we couldn't control our motor anymore. We don't know if there is something wrong about the code, or it's the component itself that doesn't work well. Now as far as our code above is concerned, we wanted to control our victor with two buttons. One will make the current go through in a direction(button 1), and the other one will reverse the current (button 5). To be more specific, button 1 will be used to foward our vitor whenever we'll press it and button 5 will reverse it anytime also. The true condition does the opposite of the false meaning button 1 sets the motor to 0.5 and button 5 sets the motor to 0. Seriously we don't understand what's wrong with the code. We tried a couple of solutions but it didn't work. We need your HELP on this. This is our rookie year and we would like to impress our school and the community. THANKS a lot. |
|
#5
|
|||||
|
|||||
|
Re: Using the arm with VICTOR motor
You are setting the motor twice. That will never work
Stack the case structures. If button 1 true, write motor 1. Inside button 1 false, check button 5 and write either -1 or 0. |
|
#6
|
|||||
|
|||||
|
Re: Using the arm with VICTOR motor
Quick unrelated question. What physical motor are you using on the robot that was wired up to the Spike? There's a pretty short list of motors that you're not allowed to wire to a Spike, I'd like to make sure we're not making this change for no reason.
|
|
#7
|
|||
|
|||
|
Re: Using the arm with VICTOR motor
Quote:
A Victor motor. |
|
#8
|
|||||
|
|||||
|
Re: Using the arm with VICTOR motor
A Victor is a Motor Controller, not a motor itself. Is it a CIM? Fisher Price? Window motor? 555?
|
|
#9
|
|||
|
|||
|
Re: Using the arm with VICTOR motor
Well, I don't know
|
|
#10
|
|||||
|
|||||
|
Re: Using the arm with VICTOR motor
If it is a CIM or Fisher-Price motor it must be on a Victor. All others can be on Spikes. Since you said it's an arm I would guess CIM or Fisher Price, as the others are fairly wimpy motors.
|
|
#11
|
|||||
|
|||||
|
Re: Using the arm with VICTOR motor
Can you give a physical description?
Big, black cylinder: CIM smaller, gray/silver cylinder: FP, Mabuchi oblong with a diskish shape on one end: Window motor |
|
#12
|
|||
|
|||
|
Re: Using the arm with VICTOR motor
Well, I'll see tuesday the type of Victor.
|
|
#13
|
|||
|
|||
|
Re: Using the arm with VICTOR motor
Sorry. but it doesn't work. I've tried to stack the case structures. I've made three print screens and will post it right now.
By the way, our Victor control is a 2.5 '' CIM Motor, 12V DC, 2.5'' diameter, and we were advise to use a Victor instead of a Spike because it's not allowed. ![]() ![]() ![]() Thank you very much! ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using Limit Switches with the Arm | iwin2000 | Programming | 3 | 18-02-2008 03:52 |
| pic: 753 Arm with banebot motor | MIsanthropist | Extra Discussion | 2 | 18-02-2007 00:03 |
| Using a switch with a victor | J. Stofflett | Programming | 3 | 30-01-2006 21:00 |
| Which do you use a spike or a victor on the Bosch motor? | Leo 1529 | Technical Discussion | 2 | 20-01-2006 20:29 |
| Window Motor With Spike/Victor | supergrover | Control System | 9 | 30-01-2004 15:38 |