Go to Post Brandon Martus, making CD readers' lives easier since May 2001/Fall 98 - Beth Sweet [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 16-02-2009, 18:03
PurpleHaze's Avatar
PurpleHaze PurpleHaze is offline
My friend Jeff is from Sweden
AKA: J.D. Iglesias
FRC #2219 (MegaHurts)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Carbondale, Illinois
Posts: 5
PurpleHaze is an unknown quantity at this point
Re: Data delay between Crio and DS

We are having the same issue with delay. Our camera code causes the robot to have a delay with receiving inputs of about a second. It is running in its own parallel loop, and yet it affects the whole system. We've got less than 24 hours till we ship, and we need to get this up and running... Help?
__________________
Team MegaHurts 2219: If it ain't broken, wait a minute
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2009, 22:59
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Data delay between Crio and DS

Quote:
Originally Posted by PurpleHaze View Post
Our camera code causes the robot to have a delay with receiving inputs of about a second. It is running in its own parallel loop, and yet it affects the whole system.
Add a Delay VI inside your camera loop to keep it from running at full throttle. Suitably chosen, that delay will give the rest of your code a chance to run.
Reply With Quote
  #3   Spotlight this post!  
Unread 17-02-2009, 08:40
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,513
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Data delay between Crio and DS

Actually, we took the example labview code, copied it and pasted it directly into the vision processing .vi in the advanced framework. This caused a 1 to 2 second delay in everything we did.

We've got the next week or two to work with it since we held our controls system back (THANK YOU GDC), so we'll start working on getting the lead out of the routine on Friday.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
cRIO Program Delay bomber7 Programming 2 29-01-2009 21:35
Capture Data from the cRio goodsky Programming 2 13-01-2009 21:27
EDU-MINI RC Solenoid Switching times and Delay time? Generalx5 Technical Discussion 0 25-01-2007 01:32
interference between wires and connectors Dan Zollman Inventor 5 18-12-2006 15:11
Delay in results and awards: drying out FRCOps Championship Event 0 01-05-2002 10:46


All times are GMT -5. The time now is 15:12.

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