Go to Post Why do things the easy way when you can do it with a robot? - MissInformation [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 14-02-2013, 16:35
sthreet's Avatar
sthreet sthreet is offline
Registered User
AKA: scott threet
FRC #4692
 
Join Date: Oct 2012
Rookie Year: 2012
Location: Toutle Lake
Posts: 84
sthreet is an unknown quantity at this point
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2013, 17:43
propionate's Avatar
propionate propionate is offline
Team co-lead and LabVIEW programmer
AKA: Stephen
FRC #1732 (Hilltopper Robotics)
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Milwaukee
Posts: 93
propionate is on a distinguished road
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?
Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2013, 18:20
sthreet's Avatar
sthreet sthreet is offline
Registered User
AKA: scott threet
FRC #4692
 
Join Date: Oct 2012
Rookie Year: 2012
Location: Toutle Lake
Posts: 84
sthreet is an unknown quantity at this point
Re: Displaying camera image and getting the dashboard to display in the driverstation

Quote:
Originally Posted by propionate View Post
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?
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2013, 18:42
propionate's Avatar
propionate propionate is offline
Team co-lead and LabVIEW programmer
AKA: Stephen
FRC #1732 (Hilltopper Robotics)
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Milwaukee
Posts: 93
propionate is on a distinguished road
Re: Displaying camera image and getting the dashboard to display in the driverstation

Quote:
Originally Posted by sthreet View Post
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.
Reply With Quote
  #5   Spotlight this post!  
Unread 14-02-2013, 18:51
sthreet's Avatar
sthreet sthreet is offline
Registered User
AKA: scott threet
FRC #4692
 
Join Date: Oct 2012
Rookie Year: 2012
Location: Toutle Lake
Posts: 84
sthreet is an unknown quantity at this point
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...)
Reply With Quote
  #6   Spotlight this post!  
Unread 14-02-2013, 19:00
propionate's Avatar
propionate propionate is offline
Team co-lead and LabVIEW programmer
AKA: Stephen
FRC #1732 (Hilltopper Robotics)
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Milwaukee
Posts: 93
propionate is on a distinguished road
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.
Reply With Quote
  #7   Spotlight this post!  
Unread 14-02-2013, 19:05
sthreet's Avatar
sthreet sthreet is offline
Registered User
AKA: scott threet
FRC #4692
 
Join Date: Oct 2012
Rookie Year: 2012
Location: Toutle Lake
Posts: 84
sthreet is an unknown quantity at this point
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?
Reply With Quote
  #8   Spotlight this post!  
Unread 14-02-2013, 19:21
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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).
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 15-02-2013 at 13:52. Reason: Added #4 so I could reference it later.
Reply With Quote
  #9   Spotlight this post!  
Unread 15-02-2013, 13:21
sthreet's Avatar
sthreet sthreet is offline
Registered User
AKA: scott threet
FRC #4692
 
Join Date: Oct 2012
Rookie Year: 2012
Location: Toutle Lake
Posts: 84
sthreet is an unknown quantity at this point
Re: Displaying camera image and getting the dashboard to display in the driverstation

Quote:
Originally Posted by Mark McLeod View Post
[*]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...
Reply With Quote
  #10   Spotlight this post!  
Unread 15-02-2013, 13:45
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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).
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 16-02-2013 at 00:07.
Reply With Quote
  #11   Spotlight this post!  
Unread 15-02-2013, 23:32
sthreet's Avatar
sthreet sthreet is offline
Registered User
AKA: scott threet
FRC #4692
 
Join Date: Oct 2012
Rookie Year: 2012
Location: Toutle Lake
Posts: 84
sthreet is an unknown quantity at this point
Re: Displaying camera image and getting the dashboard to display in the driverstation

Quote:
Originally Posted by Mark McLeod View 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...
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


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

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