Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   DashboardDemo Example (http://www.chiefdelphi.com/forums/showthread.php?t=71566)

DanDon 08-01-2009 02:02

DashboardDemo Example
 
Hey all-

I've managed to start a new project from the SimpleTemplate and the SimpleTracker examples, but when I try to make one from the DashboardDemo example, the code doesn't build the required targets to download to the CRIO. It's driving me crazy :yikes:.

Suggestions?

Mark McLeod 08-01-2009 09:47

Re: DashboardDemo Example
 
The Dashboard runs on your PC not on the cRIO, so there won't be anything to download.
That's why the project files are all under "My Computer"

The Basic and Advanced templates include the cRIO dashboard side of things.

DanDon 08-01-2009 10:38

Re: DashboardDemo Example
 
Quote:

Originally Posted by Mark McLeod (Post 795710)
The Dashboard runs on your PC not on the cRIO, so there won't be anything to download.
That's why the project files are all under "My Computer"

The Basic and Advanced templates include the cRIO dashboard side of things.

Guess I wasn't clear enough, I meant the cRIO side, and the sample program that they provide which sends data back when downloaded to the cRIO.

Mark McLeod 08-01-2009 11:00

Re: DashboardDemo Example
 
My communication skills are getting poorer. Several of my posts the past few days don't seem to convey what I was thinking :)

I'm really not sure what you're having trouble with.

-- LabVIEW and/or Wind River?

I had assumed LabVIEW-only where you:
-- download the LabView Basic or Advanced project
-- Run the dashboard project on your PC

With the Wind River I haven't tried the dashboard project, but I'll give it a shot.
P.S. I see the examples "Dashboard Sample showing images..." and "Dashboard Data Example"
Where is "DashboardDemo?" (Nevermind I see that's the .cpp name under "Dashboard sample...")


With this year's system there are many paths to the same objective.
Update mis-matches will prevent it from working.

Mark McLeod 08-01-2009 11:19

Re: DashboardDemo Example
 
I got the same result you did.

"Dashboard Data Example" creates a .out
"Dashboard sample showing images..." does not create a .out

DanDon 08-01-2009 11:28

Re: DashboardDemo Example
 
Thanks Mark. Sorry for not being clearer, I am working with WindRiver :P.

I must admit, it's kinda frustrating when we are given examples that don't actually work.

Mark McLeod 08-01-2009 11:49

Re: DashboardDemo Example
 
It seems to not create a .out because it isn't a full program.
It's setup with a unique entry point, but it has no RobotMain or any of the supporting Watchdog requirements for the cRIO.

You can probably just take the TestVision2PC routine and incorporate it into the working "Dashboard Data Example."

DanDon 08-01-2009 13:36

Re: DashboardDemo Example
 
Quote:

Originally Posted by Mark McLeod (Post 795782)
It seems to not create a .out because it isn't a full program.
It's setup with a unique entry point, but it has no RobotMain or any of the supporting Watchdog requirements for the cRIO.

You can probably just take the TestVision2PC routine and incorporate it into the working "Dashboard Data Example."

Sounds like a good idea, hopefully I should be able to test it within a few hours and post my results up here. Just to make sure, this code is meant to interface with the LabView FRC Dashboard program, when the computer is on IP address 10.xx.yy.6, correct?

Thanks for the idea Mark!

dnrobotics11 08-01-2009 14:59

I need help with WindRiver
 
I have managed to download WindRiver and make the necessary updates but I amhaving trouble creating a new C++ template for the code.I know how to make a template for regular C++ but I need to make it so that it is the FIRST template with the three phases of competition. How do I set up this kind of file? Thanks for the help.

DanDon 08-01-2009 20:23

Re: I need help with WindRiver
 
Quote:

Originally Posted by dnrobotics11 (Post 795952)
I have managed to download WindRiver and make the necessary updates but I amhaving trouble creating a new C++ template for the code.I know how to make a template for regular C++ but I need to make it so that it is the FIRST template with the three phases of competition. How do I set up this kind of file? Thanks for the help.

In the File menu, hover over 'New', then click on 'Example' and choose the one that best fits your needs.

dnrobotics11 08-01-2009 21:04

WindRiver
 
Thank you very much for the help.


All times are GMT -5. The time now is 08:55.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi