Go to Post My goal as a mentor is to make myself irrelevant. Is that possible? Probably not. But this is one place I am willing to aim stupidly high. - Ian Curtis [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-2012, 18:47
Team 1824's Avatar
Team 1824 Team 1824 is offline
Registered User
FRC #1824
 
Join Date: Jan 2012
Location: Peterborough
Posts: 17
Team 1824 is an unknown quantity at this point
Driver Station not displaying Camera image

Hi, This year our team is trying to use the camera on our robot. I am the lead programmer on the team and have successfully setup the camera through the tool that was in the utilities update. We are using the cRio's second ethernet port for the camera. I haven't changed any of the default code because I thought that you did not have to in order to see the camera image. I know that you have to change it in order to track an image, but in order to just see the display I thought that you could just use the default code in the begin.vi that initializes the camera. I've never used the camera before so correct me if I am wrong. We are using the M1011 axis camera.

If any one can help me out that would be great.

Thanks,
Team 1824
Reply With Quote
  #2   Spotlight this post!  
Unread 26-01-2012, 19:16
NeatNit's Avatar
NeatNit NeatNit is offline
Alumni Programmer
FRC #1577 (Steampunk)
Team Role: Teacher
 
Join Date: Sep 2011
Rookie Year: 2011
Location: Israel
Posts: 60
NeatNit is an unknown quantity at this point
Re: Driver Station not displaying Camera image

You must create a new Dashboard project and change the camera's IP address to 192.168.0.60 instead of 10.xx.yy.11 (xxyy being your team number).

I haven't yet taken a very close look at the Dashboard project, but I'd expect it would have clear instructions about this. In fact, I'm pretty sure all you'd have to do is change a T constant to an F.


The reason the default one isn't working is that it's configured for connecting the camera to the access point (where its IP address would be 10.xx.yy.11).


Good luck!
Reply With Quote
  #3   Spotlight this post!  
Unread 26-01-2012, 19:58
Team 1824's Avatar
Team 1824 Team 1824 is offline
Registered User
FRC #1824
 
Join Date: Jan 2012
Location: Peterborough
Posts: 17
Team 1824 is an unknown quantity at this point
Re: Driver Station not displaying Camera image

Thanks for replying so soon.

I've never worked with the dashboard projects before, but I did create one today. The only thing I was confused about was whether the dashboard project is deployed to the cRio or what I was supposed to do with it after I created it.

The camera IP address is 192.168.0.90 It was configured to that when I ran the setup tool.

Thanks again,
Team 1824
Reply With Quote
  #4   Spotlight this post!  
Unread 26-01-2012, 20:02
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: Driver Station not displaying Camera image

The dashboard is a standalone exe program. After you edit anything within the dashboard, you must re-build the dashboard into an exe file.
Reply With Quote
  #5   Spotlight this post!  
Unread 26-01-2012, 20:31
Team 1824's Avatar
Team 1824 Team 1824 is offline
Registered User
FRC #1824
 
Join Date: Jan 2012
Location: Peterborough
Posts: 17
Team 1824 is an unknown quantity at this point
Re: Driver Station not displaying Camera image

In order to build it into an exe, do I just right click on the build dependencies and click on build or is there something special that I have to do. Like I said before I'm completely new to the dashboard project.

Thanks,
Team 1824
Reply With Quote
  #6   Spotlight this post!  
Unread 26-01-2012, 20:35
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: Driver Station not displaying Camera image

I believe that you just need to build it. The dialog will tell you where the files are located, and if needed, you can move it around, or to another computer.

Greg McKaskle
Reply With Quote
  #7   Spotlight this post!  
Unread 26-01-2012, 20:37
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: Driver Station not displaying Camera image

I don't have my PC in front of me, but when you are viewing the project, open the very last cascading menu and double click FRC Dashboard. In the following menu, hit Build.
Reply With Quote
  #8   Spotlight this post!  
Unread 26-01-2012, 20:44
Team 1824's Avatar
Team 1824 Team 1824 is offline
Registered User
FRC #1824
 
Join Date: Jan 2012
Location: Peterborough
Posts: 17
Team 1824 is an unknown quantity at this point
Re: Driver Station not displaying Camera image

Alright, I will try that as soon as I can get back to the room.

Thanks everyone,
Team 1824
Reply With Quote
  #9   Spotlight this post!  
Unread 27-01-2012, 08:56
Doug Norman's Avatar
Doug Norman Doug Norman is offline
Registered User
no team (National Instruments)
Team Role: Engineer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Austin, TX
Posts: 137
Doug Norman will become famous soon enoughDoug Norman will become famous soon enough
Re: Driver Station not displaying Camera image

Quote:
Originally Posted by Team 1824 View Post
We are using the cRio's second ethernet port for the camera.
To back up a step. Is there a reason you are using Ethernet port 2 on the cRIO? All the default code and Dashboard are set up to plug the camera into the robot radio. Unless you have a good reason to change, I would suggest you try that first.
__________________
Doug Norman
National Instruments
Reply With Quote
  #10   Spotlight this post!  
Unread 27-01-2012, 12:18
Team 1824's Avatar
Team 1824 Team 1824 is offline
Registered User
FRC #1824
 
Join Date: Jan 2012
Location: Peterborough
Posts: 17
Team 1824 is an unknown quantity at this point
Re: Driver Station not displaying Camera image

I have tried all of the above. I built the dashboard project and changed the camera to run through the robot radio instead of the second port of the cRio. I changed all of the necessary things in the code and in the dashboard project but i still dont have any image.

If any one can help me out that would be great.

Thanks,
Team 1824
Reply With Quote
  #11   Spotlight this post!  
Unread 27-01-2012, 12:30
mesamb1's Avatar
mesamb1 mesamb1 is offline
Registered User
AKA: Sam Bacon
FRC #1466 (Webb Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Knoxville
Posts: 93
mesamb1 is just really nicemesamb1 is just really nicemesamb1 is just really nicemesamb1 is just really nice
Change one thing at a time. Since the crio bundles the camera data with packets sent to the dash board the default dashboard should be fine. Does your camera pull up when you connect it to your laptop and go to the ip address it is set to?
Reply With Quote
  #12   Spotlight this post!  
Unread 27-01-2012, 15:39
Team 1824's Avatar
Team 1824 Team 1824 is offline
Registered User
FRC #1824
 
Join Date: Jan 2012
Location: Peterborough
Posts: 17
Team 1824 is an unknown quantity at this point
Re: Driver Station not displaying Camera image

I finally got it to work. We had to change the classmate so that it connected automatically to the robot radio.

Thanks everyone who helped me out and Good Luck!
Team 1824
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 22:27.

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