Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Displaying camera image and getting the dashboard to display in the driverstation (http://www.chiefdelphi.com/forums/showthread.php?t=113493)

sthreet 14-02-2013 16:35

Displaying camera image and getting the dashboard to display in the driverstation
 
So i've been looking for a good tutorial for both of these things and i think that I have the camera displaying the image, but i'm not 100% sure whether I have it displaying on a dashboard project I created (can't test right now) and I have no idea how to deploy the dashboard to the driver station. Is their anything I have to change from the basic dashboard project, or in the camera IP? And how do I deploy the dashboard to the driver station?

propionate 14-02-2013 17:43

Re: Displaying camera image and getting the dashboard to display in the driverstation
 
Can you confirm that your camera feed is working with the default dashboard project that comes with the driver's station update?

sthreet 14-02-2013 18:20

Re: Displaying camera image and getting the dashboard to display in the driverstation
 
Quote:

Originally Posted by propionate (Post 1233441)
Can you confirm that your camera feed is working with the default dashboard project that comes with the driver's station update?

I'm not sure their was a dashboard project, I just created a new one... I think we've done four updates, does that sound right or did we miss one?

propionate 14-02-2013 18:42

Re: Displaying camera image and getting the dashboard to display in the driverstation
 
Quote:

Originally Posted by sthreet (Post 1233466)
I'm not sure their was a dashboard project, I just created a new one... I think we've done four updates, does that sound right or did we miss one?

When you download this update...

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

... on your driver station laptop it will create a shortcut on the desktop to open the default dashboard project. If you can't find this shortcut, and think you downloaded the update already, check the Program Files(x86) folder and look for "FRC Dashboard." The default dashboard .exe will be inside.

sthreet 14-02-2013 18:51

Re: Displaying camera image and getting the dashboard to display in the driverstation
 
Ok, but now how do I deploy it to driver station? And is their any code that i need to modify to make it detect my camera? EDIT: And how to I modify the code for it? It looks like the dashboard I created but I can't get to the code... (dashboard was a default project template thingy...)

propionate 14-02-2013 19:00

Re: Displaying camera image and getting the dashboard to display in the driverstation
 
I am not sure what you mean by "deploy it to the driver station." Could you elaborate? The .exe that comes with the driver station update is an already built version of a LabVIEW Dashboard Project. There is no need to do a deployal of any kind in order to run it.

You should not need to modify any code for the default exe to receive video from the network camera on the robot. If you DO want to modify it for another reason, you will have to start a new dashboard project, edit it, and then build it. Then you can run the exe that is created.

sthreet 14-02-2013 19:05

Re: Displaying camera image and getting the dashboard to display in the driverstation
 
The dashboard doesn't show up on our driver station... How do we get it to do that?

Mark McLeod 14-02-2013 19:21

Re: Displaying camera image and getting the dashboard to display in the driverstation
 
Too many answers and not enough to the question.

Let's assume that you created a new Dashboard project.
You went to Build Specifications and ran Build.

There are several ways to get it to run.
Pick one:
  1. Start it yourself. You'll find it at Documents\LabVIEW Data\builds\FRC Dashboard Project\FRC PC Dashboard
  2. Copy the executable (above) to where the Driver Station expects to find it (C:\\Program Files (x86)\FRC Dashboard).
  3. If you left the new project name default, then in the Driver Station app. you can choose the LabVIEW button on the Setup tab.
  4. Right-click on FRC PC Dashboard under Build Specifications, and choose Properties. Change the Destination Directory to C:\\Program Files (x86)\FRC Dashboard, and whenever you build it will replace the existing default Dashboard with your new one.
  5. There are other ways...
If you want it to run on another machine, then you'll need to copy the executable over to it (#2 above).

sthreet 15-02-2013 13:21

Re: Displaying camera image and getting the dashboard to display in the driverstation
 
Quote:

Originally Posted by Mark McLeod (Post 1233494)
[*]If you left the new project name default, then in the Driver Station app. you can choose the LabVIEW button on the Setup tab.

Thanks, I didn't leave the name default but for some reason i switched it over to "labview" and changing it back to default changed it. That's why it wasn't showing up above the bottom part...

Mark McLeod 15-02-2013 13:45

Re: Displaying camera image and getting the dashboard to display in the driverstation
 
That makes sense.
The LabVIEW button only looks for the default project name.
The Default button looks for C:\\Program Files (x86)\FRC Dashboard/Dashboard.exe

It won't be your new Dashboard project that's running though unless you either move the new executable into FRC Dashboard or you can go into the Build Spec properties and set the Destination directory to C:\\Program Files (x86)\FRC Dashboard/Dashboard.exe (see #4 added to the earlier post).

sthreet 15-02-2013 23:32

Re: Displaying camera image and getting the dashboard to display in the driverstation
 
Quote:

Originally Posted by Mark McLeod (Post 1233878)
That makes sense.
The LabVIEW button only looks in for the default project name.
The Default button looks for C:\\Program Files (x86)\FRC Dashboard/Dashboard.exe

It won't be your new Dashboard project that's running though unless you either move the new executable into FRC Dashboard or you can go into the Build Spec properties and set the Destination directory to C:\\Program Files (x86)\FRC Dashboard/Dashboard.exe (see #4 added to the earlier post).

True, but the only difference between the new one i created (didnt' edit anything, atleast i know how to though) and this one is that the one i created had some weird stuff going on wtih part of it being offscrean when i ran it...


All times are GMT -5. The time now is 12:02.

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