Go to Post 1902...hmmmmm did it go oink oink boom when it blew up? - Rohith Surampudi [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 11-04-2009, 05:55
BurtGummer BurtGummer is offline
Electrical/Mechanical/Programming
FRC #3020
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Southern CA
Posts: 89
BurtGummer will become famous soon enoughBurtGummer will become famous soon enough
Momentary On/Off

Well, for the flywheel we are adding, I need to add some code to the robot. I have a window motor that will be running off of a victor. The WM will be attached to the gimbal which the flywheel is attached. So, I want the WM to turn on for a certain speed and for a preset time when a button is pressed in. When the button is unpressed, I want the WM to return to the home position, doing so by running the speed in a negative direction, for the same amount of time.

1. Press button, motor runs at speed V for T time and shuts off when T expires, even when button remains pressed.

2.When button is unpressed, returning from being pressed, motor runs at -V for T time and shuts off when T expires. This returns the motor to home position.

Unfortunately, I have not had much time to put towards learning programming in LabView, and I'm pretty much clueless on how to use it. Don't ask me how I have working code on our robot right now, because I have no idea, haha.

Thanks!

-Sean, 3020
__________________
I'm a mentor looking for a home in Southern California! I know Java, C++, electrical and mechanical.

Need Java or C++ help? Send me a PM!
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Woot-off Greg Needel Chit-Chat 7 05-10-2007 14:25
Woot-Off JohnBoucher Chit-Chat 46 23-03-2007 22:15
437 Showing Off it's Off Season NextPerception Robot Showcase 7 06-02-2007 19:03
Momentary Switch Programming silv940 Programming 3 24-05-2006 02:19
hanging off off other robots that are hanging off the horiz bar Andrew Dahl Rules/Strategy 15 12-01-2004 19:14


All times are GMT -5. The time now is 10:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi