Go to Post I'd like to welcome all the rookie teams to FIRST. Hang on tight! It is a wild, crazy and fun ride that will impact your lives for decades to come. - Sayrah [more]
Home
Go Back   Chief Delphi > Technical > National Instruments LabVIEW and Data Acquisition
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
  #6   Spotlight this post!  
Unread 15-01-2009, 11:17
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: LabView dashboard/live telemetry

I should have added the suggestion from Chaos in a Can to my earlier post. That's a VALUABLE lesson in LabVIEW development (and, I'd imagine, any multi-threading application that needs to share time in an OS).

You should always make sure that loops only execute at a reasonable rate. Without adding an intentional delay within a while loop or using a timed loop (which does this for you), the loop will execute at max speed and cause the OS and CPU to max out.

As an example, create a simple while loop with only an increment and display and then run it. You'll find that it will execute at a few MHz and cause your PC to slow down tremendously. Add a 1ms wait in the loop to force it to execute at 1kHz and everything will be fine.

Russ
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
Labview Dashboard Peter Randall NI LabVIEW 3 07-12-2008 10:29
Labview Video Tutorial? Dashboard Chris_Elston National Instruments LabVIEW and Data Acquisition 21 25-01-2008 00:29
Labview Dashboard and updated IFI dashboard spec Joe Ross LabView and Data Acquisition 1 04-04-2006 02:04
LabView Dashboard brummer_13 LabView and Data Acquisition 7 08-02-2006 21:43
LabView Dashboard Problems brummer_13 LabView and Data Acquisition 11 01-02-2006 20:13


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

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