Go to Post IRI: where egos go to die...uhm..I mean fly! - 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 15-02-2010, 22:47
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
Intra-Loop Timing Advice

I haven't had the time to play around with some of my timing ideas ... this being the final week and all.

I'd like to ask some of the more advanced Labview developers and cRIO gurus for some advice and/or rules-of-thumb regarding the elapsed time for some common tasks.

Our team's software has most of it's "decision making" in the teleop/auton enabled VI's, running at the frequency of the DS packets ... 20 msec/cycle.

Underneath all that "main-while-loop" stuff, we've got our other primaryVI's ...
One reads a command global and sets the drive-motor speeds.
One reads all the nav sensors (accel's, gyro, encoders) and writes to a global.
One reads a command global and sets the camera-gimbal servos
One is for Vision
In the teleop/auton modes, we look at the Nav data and the joystick inputs, and set the commands to the motor-globals.

In each of my free-running VI's (other than vision), I have a WAIT = 10 msec so that they'll run at most twice for each DS-cycle. But I'd like to adjust that arbitrary number with one that is based on the expected response times for these sorts of actions.

I wish I had the time during our recent build-sessions to play around with some timers and find out for myself, but alas, today my hands were on power tools much more than the keyboard

Do y'all put these WAIT's into your standard parallel VI's? or do you let them free-run as fast as they can? If/when you let them free-run, what sorts of elapsed times would you expect from them?

Thanks!
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics

Last edited by Ziaholic : 15-02-2010 at 22:56.
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
Timing functions grosh NI LabVIEW 6 15-02-2010 14:20
Timing belts kajeevan General Forum 6 13-08-2008 13:59
timing of re-contact Gary Dillard Rules/Strategy 16 19-01-2008 14:09
Timing Codes Ryan Cumings Programming 11 29-01-2004 22:26


All times are GMT -5. The time now is 20:57.

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