Go to Post The numbers that I gave were purely theoretical and should not be considered realistic - Karibou [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   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
  #2   Spotlight this post!  
Unread 17-01-2009, 22:17
stevethetinker stevethetinker is offline
Registered User
FRC #1288 (RAVEN)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2004
Location: St. Charles, MO
Posts: 35
stevethetinker is an unknown quantity at this point
Re: LabView dashboard/live telemetry

I had the dashboard demo (the one in LV in projectwizards) working a couple of weeks ago, and now when I try to build it it says the vi is broken. Has anyone encountered this problem? Is there a fix short of reinstallling LV?
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2009, 08:47
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

Have you installed the latest LVUpdate and reimaged both the cRIO and DS?

http://joule.ni.com/nidu/cds/view/p/lang/en/id/1180

If you have done the installation recently, my understanding is that you'll need to open a new FRC project and "import" your custom VIs. Without going through the "new project" process, you may have some bad links to sub-VIs.

Another option is to press the broken run arrow and let LabVIEW point out where the problem is. It shouldn't be too hard to track down the issue.

Russ
Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2009, 19:45
stevethetinker stevethetinker is offline
Registered User
FRC #1288 (RAVEN)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2004
Location: St. Charles, MO
Posts: 35
stevethetinker is an unknown quantity at this point
Re: LabView dashboard/live telemetry

I have the latest and have reimaged. I did as you suggested about finding the problem and came to a 'well duh' moment. I was trying to build the template. I had forgotten to go to the labview main dialog and create a dashboard project. When I did that it worked.
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
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 16:10.

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