Go to Post I guess I'm a bit of an apple fanatic. - Austin [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 26-01-2014, 10:16
AIS Falcons's Avatar
AIS Falcons AIS Falcons is offline
Registered User
FRC #4338
 
Join Date: Jan 2014
Location: Israel
Posts: 14
AIS Falcons is an unknown quantity at this point
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!
Reply With Quote
  #2   Spotlight this post!  
Unread 26-01-2014, 10:29
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote
  #3   Spotlight this post!  
Unread 26-01-2014, 11:05
AIS Falcons's Avatar
AIS Falcons AIS Falcons is offline
Registered User
FRC #4338
 
Join Date: Jan 2014
Location: Israel
Posts: 14
AIS Falcons is an unknown quantity at this point
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)

Last edited by AIS Falcons : 26-01-2014 at 11:10.
Reply With Quote
  #4   Spotlight this post!  
Unread 26-01-2014, 13:57
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Getting Camera Feed on Dashboard

Quote:
Originally Posted by AIS Falcons View Post
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.
Reply With Quote
  #5   Spotlight this post!  
Unread 27-01-2014, 00:06
AIS Falcons's Avatar
AIS Falcons AIS Falcons is offline
Registered User
FRC #4338
 
Join Date: Jan 2014
Location: Israel
Posts: 14
AIS Falcons is an unknown quantity at this point
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 27-01-2014, 02:16
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
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.
Reply With Quote
  #7   Spotlight this post!  
Unread 27-01-2014, 07:47
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote
  #8   Spotlight this post!  
Unread 27-01-2014, 12:47
AIS Falcons's Avatar
AIS Falcons AIS Falcons is offline
Registered User
FRC #4338
 
Join Date: Jan 2014
Location: Israel
Posts: 14
AIS Falcons is an unknown quantity at this point
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?
Reply With Quote
  #9   Spotlight this post!  
Unread 27-01-2014, 13:16
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
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.
Reply With Quote
  #10   Spotlight this post!  
Unread 28-01-2014, 06:51
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote
  #11   Spotlight this post!  
Unread 28-01-2014, 08:34
AIS Falcons's Avatar
AIS Falcons AIS Falcons is offline
Registered User
FRC #4338
 
Join Date: Jan 2014
Location: Israel
Posts: 14
AIS Falcons is an unknown quantity at this point
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.
Reply With Quote
  #12   Spotlight this post!  
Unread 28-01-2014, 08:40
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
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
Reply With Quote
  #13   Spotlight this post!  
Unread 28-01-2014, 14:54
AIS Falcons's Avatar
AIS Falcons AIS Falcons is offline
Registered User
FRC #4338
 
Join Date: Jan 2014
Location: Israel
Posts: 14
AIS Falcons is an unknown quantity at this point
Re: Getting Camera Feed on Dashboard

Quote:
Originally Posted by RufflesRidge View Post
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!
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 20:57.

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