![]() |
How do we get the spike in both directions in labview?
Yeah,we are from team 3475,we're also rookies and we have no idea how to make the spike relay go in both directions. Well what I mean is that when we program it to go one direction it doesn't go in the other, all we are getting are jolts from the window motors we are using.
Please if there is any one that can help please reply, we are in desperate need. Sincerely team 3475 programmer, Takeshita Green |
Re: How do we get the spike in both directions in labview?
Assuming you are talking about running the motor off a Spike relay.
Use the Relay Set enumerated input:
|
Re: How do we get the spike in both directions in labview?
Yes we have already done that and the problem still continues. We have checked our teleop vi many times and have tried different things to get both reverse and forward reactions,but it still continues to go in one direction.
Could the problem be a default setting somewhere in the programming? |
Re: How do we get the spike in both directions in labview?
It's easy to tell if it's programming vs electrical in nature.
There are Relay status LEDs (a red/green for each Relay) on the Digital Sidecar that tell you exactly what the code is commanding. It doesn't matter if the Spike is attached or not. If your code is working correctly to command Forward and Reverse, then the Relay LED for the proper Relay will show:
|
Re: How do we get the spike in both directions in labview?
Quote:
|
Re: How do we get the spike in both directions in labview?
Yes I am aware about the led light signals on the digital sidecar but even so when one light is constant the other one flickers on and off constantly and will every once in a while the motor will react in reverse.
|
Re: How do we get the spike in both directions in labview?
Quote:
|
Re: How do we get the spike in both directions in labview?
Yes I am aware about the led light signals on the digital sidecar but even so when one light is constant the other one flickers on and off constantly and will every once in a while the motor will react in reverse.
|
Re: How do we get the spike in both directions in labview?
[IMG]http:/team358.org/files/.../Pneumatics-StepByStep-cRIOversion.doc[/IMG]Yeah here are three images of our Begin, Teleop, Finish VIs
|
Re: How do we get the spike in both directions in labview?
That example is for a pneumatic single solenoid connected via a Relay, not for a motor.
|
Re: How do we get the spike in both directions in labview?
Then how would we do it for a motor because I don't have anything else to base the programing off of.
|
Re: How do we get the spike in both directions in labview?
Look at Team 358's page for helpful examples: http://team358.org/files/programming...2009-/LabVIEW/
|
Re: How do we get the spike in both directions in labview?
3 Attachment(s)
Hi,
I'm with problems in my labview program. The tank drive and the compressor run normally, but the relay and the solenoid is not running. Can you help me, part of my program is below. |
Re: How do we get the spike in both directions in labview?
In Teleop, you have spelled the ref nums for the solenoids differently (first letter not capitalized).
|
Re: How do we get the spike in both directions in labview?
Also,
-The Compressor requires a Digital Input for the Pressure Switch. -The Set Relay for "braco" requires an enumerated constant, not a number. Enumerated constants evaluate to numbers but this is bad practice. This is why you see the red dot on the Set Relay, the .vi is basically doing implicit datatyping, i.e. it sees a datatype it doesn't expect but it can deal with it. -I don't know what the purpose of your solenoids is, but if these go to a single double-acting solenoid then you have the possibility of both being turned on at the same time, which is probably not what you want. Instead, you could put both Solenoid Sets in your case statement. |
| All times are GMT -5. The time now is 03:51. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi