Go to Post We try to limit ourselves only by physics. As the first person on the planet to communicate over a quantum encrypted AOL instant messenger session, I try to ignore those limits as well. - EricVanWyk [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 14-02-2012, 23:20
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Timed While loop within Teleop

Hello -

I'm looking to drive a Drive motor for 1/8th of a second with the press of a Joystick button. So, here's what I've come up with.

Basically, checking to see if the button is pressed. If not, pass on the set values assigned by the joystick axis. If it's pressed, substitute the value of -0.8 for 125 iterations, amounting to 1/8th of a second.

Since the Drive Motors will be assigned a value during this time, will I see any watchdog errors?

Thanks.
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


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

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