View Full Version : 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
Can you confirm that your camera feed is working with the default dashboard project that comes with the driver's station update?
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
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.
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
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.
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
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:
Start it yourself. You'll find it at Documents\LabVIEW Data\builds\FRC Dashboard Project\FRC PC Dashboard
Copy the executable (above) to where the Driver Station expects to find it (C:\\Program Files (x86)\FRC Dashboard).
If you left the new project name default, then in the Driver Station app. you can choose the LabVIEW button on the Setup tab.
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.
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).
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
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).
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...
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.