|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: LabView dashboard/live telemetry
While getting a more powerful computer is definitely the way to go, if anyone has problems with the dashboard maxing out CPU, you could try placing a wait inside each of the loops.
You won't recieve telemetry as often, but it should reduce the load on the processor. (Look at the timed loop at the bottom of the basic robot code for an example.) |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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?
|
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |