Go to Post Past success does not guarantee future results.... - Koko Ed [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 17-03-2010, 17:56
Dustin Shadbolt's Avatar
Dustin Shadbolt Dustin Shadbolt is offline
In a server room somewhere...
AKA: Dustin Shadbolt
FRC #1555 (Team PULSE)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Monticello,Indiana
Posts: 320
Dustin Shadbolt is on a distinguished road
LimitSwitches and Encoder Questions

I have a few questions so I can finish working on some programming issues before tomorrow's Boiler Maker regional.

A) Limit Switches - My team wants to use to limit switches to control our climbing device. Like once one limit switch is pushed the motor can no longer go backwards. I have a basic understanding of limit switches from searching the forums but I don't know how you would incorporate that into the teleop vi. How would go about saying okay once the DIO input is true it prevents the motor from going backwards?

B)Encoder/Autonomous - I was also asked to try to make an autonomous program that goes forward for 4inches and kicks then goes forward 40inches and kick. For one is this possible? If so how would go about getting the encoder data and then setting it to run 4inches > kick > move 40 inches forward > kick > finish.

C) Toggle Button Issue - I have recently coded one of our buttons to toggle open and close one of our solenoids. The issue is it is really random in the way it acts. It will sometimes open sometimes close or it will open multiple times in one push. Yeah not pretty. I coded it just like the one found here (thanks team 358 for the wonderful resources!)

Again sorry for the all questions it's just I'm trying to get a basic idea of how to run all of this and get it done by myself lol. (yay for my first year)
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
encoder works, and then it doesn't. jmanela NI LabVIEW 7 27-02-2010 14:21
Encoder Assembly and Code joecap5 FRC Control System 0 08-02-2010 23:56
combo encoder and chain tensioner SteveJanesch Electrical 8 17-12-2009 16:55
Encoder Help with VEX and MPLAB qnetjoe Programming 5 11-03-2007 21:04
Combined Camera and PID/Encoder Code Terry Sherman Programming 1 14-03-2005 17:59


All times are GMT -5. The time now is 11:05.

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