Go to Post I think this thread needs a reminder that there's no h in mecanum. ;) - Lil' Lavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 04-02-2012, 16:47
Tanaythan's Avatar
Tanaythan Tanaythan is offline
Programmer
AKA: Tanay Nathan
FRC #3256 (Warriorborgs)
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2010
Location: San Jose
Posts: 27
Tanaythan is an unknown quantity at this point
Cannot Display Images on Dashboard

Hi all,

We are using an Axis Camera 206 connected to port 2 on our cRIO. However, we have a persistent error of not being able to display images from the camera on the dashboard. We have code that says:

Code:
AxisCamera &camera = AxisCamera::GetInstance("192.168.0.90");
However, we are able to get data from the camera (i.e. particle analysis reports), but we are unable to get the images from it to display on the Dashboard or SmartDashboard. We also chose the correct options in the Axis Camera Setup. The user was stated to be "FRC," and the password was also "FRC." Is there a reason for the user and password? Any ideas for how to get the images on the smart dashboard/ dashboard?
__________________
Tanay Nathan
Programmer
Team #3256 Warriorborgs
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2012, 19:58
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,112
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: Cannot Display Images on Dashboard

The Dashboard program is written to expect the camera to be connected to the DAP-1522 router, and to be configured at the 10.te.am.11 IP address. If you have it connected instead to the second Ethernet port on the cRIO and at the default 192.168.0.90 address, the Dashboard will not be able to view its output. You can either move and reconfigure the camera (and change the address in your robot code to match), or you can change a well-labeled boolean constant in the Dashboard program to get the camera image through the cRIO and build a new Dashboard .exe file.
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 13:01.

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