Go to Post I don't miss the manufactured magic of Disney because Championships creates magic in itself; wherever the event may be held. - Erin Rapacki [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-03-2014, 00:54
Coachthayer Coachthayer is offline
Registered User
FRC #5318
 
Join Date: Jan 2014
Location: United States
Posts: 1
Coachthayer is an unknown quantity at this point
Window motor in autonomous

We are using a window motor for our ball collector and it works great. However, I can't seem to figure out how to turn it on and off during autonomous. I would also like to be able to reverse the direction. I'm a new LabView programmer so please keep it as simple as possible. Any help would be appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 19-03-2014, 01:02
Invictus3593's Avatar
Invictus3593 Invictus3593 is offline
time you like wasting is not wasted
FRC #3593 (Team Invictus)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Tulsa, OK
Posts: 318
Invictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really nice
Re: Window motor in autonomous

Are using globals to set your motor speeds or just setting it with motor Set in autonomous? With the motor Set vi, you can input constants for the motor speed ranging from -1 to 1, -1 being backwards, 0 being stopped and 1 being forwards. If you put this motorSet into a loop in periodic tasks running about 50ms, you can write to a global value in autonomous, then read the value and set the motor in periodic tasks. This method helps resolve many errors and many headaches. XD
__________________
Per Audacia Ad Astra
Reply With Quote
Reply


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


All times are GMT -5. The time now is 08:47.

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