Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Getting Camera Feed on Dashboard (http://www.chiefdelphi.com/forums/showthread.php?t=125278)

AIS Falcons 26-01-2014 10:16

Getting Camera Feed on Dashboard
 
Hey, I am trying to add a camera feed to our dashboard (not Smartdashboard, the normal one). We did everything in Java, but this part has got to be done in LabView, which our team doesn't have much experience with, so if anybody could help me, it would be great!

Greg McKaskle 26-01-2014 10:29

Re: Getting Camera Feed on Dashboard
 
If you simply want to view the camera on the default dashboard, the only required step should be to configure the camera using the installed tool or manually using the camera web page. The camera IP is assumed to be 10.team.11, and it needs to have an account named FRC with FRC as the password. You may also want to enable anonymous viewing.

If you would like to customize the dashboard, you can do so in LV or Java.

Greg McKaskle

AIS Falcons 26-01-2014 11:05

Re: Getting Camera Feed on Dashboard
 
Let's say we want to do it in LabView, how should I wire which methods/objects on Dashboard.vi to get live camera feed? And do I have to change anything on Robot.vi? (We already successfully configured the Camera Setup Tool)

Joe Ross 26-01-2014 13:57

Re: Getting Camera Feed on Dashboard
 
Quote:

Originally Posted by AIS Falcons (Post 1332661)
Let's say we want to do it in LabView, how should I wire which methods/objects on Dashboard.vi to get live camera feed? And do I have to change anything on Robot.vi? (We already successfully configured the Camera Setup Tool)

You don't change a single thing. The LabVIEW dashboard that comes with the driver station will display the camera automatically, assuming it has been set up correctly.

AIS Falcons 27-01-2014 00:06

Re: Getting Camera Feed on Dashboard
 
But I do have to add stuff like ImageDisplay, right? I want to be able to use that on the Dashboard.

Alan Anderson 27-01-2014 02:16

Re: Getting Camera Feed on Dashboard
 
If the camera has been set up with the proper IP address and user name, the default Dashboard will display the image. No programming is required.

Greg McKaskle 27-01-2014 07:47

Re: Getting Camera Feed on Dashboard
 
The default dashboard just the LabVIEW template dashboard prebuilt. It contains one image display on the left and on the right are tabs with controls about battery voltage, joystick positions and drive motor outputs.

Some teams have more than one camera or decide to rearrange. For this, you need to drop an image display.

Greg McKaskle

AIS Falcons 27-01-2014 12:47

Re: Getting Camera Feed on Dashboard
 
We wired the camera correctly and everything. We get an image when we view it through the SmartDashboard. However, we would like to use the Labview dashboard instead. We didn't change anything in the default LabView dashboard project but still no image is displayed whe we run it. Does anybody have a clue as to why it doesn't work?

Alan Anderson 27-01-2014 13:16

Re: Getting Camera Feed on Dashboard
 
Perhaps you haven't activated the necessary LabVIEW component on the computer that's running the Dashboard. Find and run the NI License Manager to verify that everything has been activated.

Greg McKaskle 28-01-2014 06:51

Re: Getting Camera Feed on Dashboard
 
The LV dashboard learn of the robot IP from the DS. Be sure that the DS is also running.

Is the DS communicating to the robot? Do you know the cameras IP address?

Greg McKaskle

AIS Falcons 28-01-2014 08:34

Re: Getting Camera Feed on Dashboard
 
All the products are activated so the problem is not that.

And we both run the DriverStation and DashBoard at the same time, so there shouldn't be any problem with getting the IP either.

I think the problem is with the LabView dashboard itself, because the camera feed works fine on Smartdashboard, but not the Labview one.

RufflesRidge 28-01-2014 08:40

Re: Getting Camera Feed on Dashboard
 
Is the button on the bottom of the dashboard just to the right of the grey camera feed area lit up green? This button enables and disables the camera feed: http://wpilib.screenstepslive.com/s/...view-dashboard

AIS Falcons 28-01-2014 14:54

Re: Getting Camera Feed on Dashboard
 
Quote:

Originally Posted by RufflesRidge (Post 1333607)
Is the button on the bottom of the dashboard just to the right of the grey camera feed area lit up green? This button enables and disables the camera feed: http://wpilib.screenstepslive.com/s/...view-dashboard

Oh my god, I can't believe it was something this simple. Thank you very much!


All times are GMT -5. The time now is 09:47.

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