Go to Post I predict the champion drive teams at each event of the 2011 season will consist of vertebrates. - Taylor [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
  #11   Spotlight this post!  
Unread 28-08-2010, 15:13
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Encoder v.s. Steering

Just at first glance...

In Periodic Tasks Your Encoder Example should not be within the 100ms loop, because it enforces it's own infinite loop it would prevent anything else you might put in that loop from ever running more than once.
Just drag it outside the loop and that's good enough.

In Encoder2.vi the infinite there needs to be throttled down. Right now it's sucking up all your CPU time running just as fast as it possibly can.
Just add a 100ms wait in there just like that used in the Periodic Tasks 100ms loop.

For DIO In.vi you don't have the correct input constant for DIO 9 or DIO 10.
See the tiny red dot where the wire connects?
Delete both of those and use Create->Constant to get the correct enum.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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
Car Steering... tuna.and.cheese Programming 3 25-02-2009 21:51
Encoder for Crab Steering Alphabet OJ Programming 4 09-02-2009 20:49
Screwing Encoder into Encoder Mount? Adrien Electrical 3 25-01-2009 18:14
Steering Wheels Chris_Elston Programming 3 17-01-2005 15:31
need glp programing steering with a steering wheel Matchew Programming 2 10-02-2003 14:20


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

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