LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Toggling Solenoids for automatic forward/reverse

Alright, thank you very much GerdW!

 

I'l be testing this out tomorrow, should hopefully work. I'l post what I have working of this when I can for anybody else with the similiar problem as mine.

 

Quick question for you, though. Should I put in a wait function into the case/sequence structures at all? It seems that I have to add long delays to my VI or else it takes too much power from the Teleop drive (since they're located next to each other)

 

 

0 Kudos
Message 11 of 13
(573 Views)

HI

 Finally did you get the answer ??if so pl send me the attachment in labview v10.0 i need this program for my ug project kindly send it ASAP thank you

 

Regards 

Nandakumar

0 Kudos
Message 12 of 13
(527 Views)

Yup I figured it out right after my last post.

 

It's in "Periodic Tasks" .VI

 

This function works by using a "Case Structure" and a "Sequence Structure", the "Wait.vi" that is used multiple times inside of the Sequence Structure defines how much time to wait between actions.

In mine, what it does is set a Solenoid to forward, then backward, then turns a Spike Relay on and then off. It fires and reloads by doing that. The "Ready to Fire" and other SD node's are not useful to you unless you want to

use it in a dashboard to show what the robot is doing.

 

The function that begins the entire process is a toggle.vi that I lead a button into and another button, as I have an "enable" switch for the entire firing mechanism. Use the toggle.vi for any toggling functions, it's simple and easy and works every time.

 

This is my entire robot project, worked at competition flawlessly:

Download Link: https://www.dropbox.com/s/vy3282dmc7ivt4e/v2.7.7z

Backup Download Link: http://www.mediafire.com/file/d39h9c83d3d0vim/v2.7.7z

Attached is the same file, another backup.

 

You'l need a program called "7-Zip" or any archival program that can work with 7-zip files. You should already have one, if you don't, then here ya go, http://www.7-zip.org/

 

0 Kudos
Message 13 of 13
(518 Views)