Go to Post One button, ten copyrights, you do the math. - StephLee [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 29-01-2013, 16:47
2509tigerbots 2509tigerbots is offline
Registered User
FRC #2509
 
Join Date: Oct 2012
Location: Hutchinson, MN
Posts: 8
2509tigerbots is an unknown quantity at this point
Question Camera IP Help

We need to get our camera working. In the part with the %d.%d.%d.%d. we put in our robot's ip, but this broke the code. We also tried to copy last years code (both of last year's programmers left), but this didn't work either.
Any help would be appreciated,
Tigerbots
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2013, 16:54
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,731
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: Camera IP Help

The default Dashboard should work with the camera as is.
Either the one that came in the Driver Station update or creating a default Dashboard project.
If the camera was not setup last year, then you may need to use the camera setup utility on it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2013, 17:36
RoboRealm RoboRealm is offline
Registered User
FRC #0443
 
Join Date: Nov 2011
Location: United States
Posts: 34
RoboRealm is a jewel in the roughRoboRealm is a jewel in the roughRoboRealm is a jewel in the roughRoboRealm is a jewel in the rough
Re: Camera IP Help

Perhaps if you post the code segment that 'broke' when you added the IP address we can help further ...

STeven.
Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2013, 17:51
2509tigerbots 2509tigerbots is offline
Registered User
FRC #2509
 
Join Date: Oct 2012
Location: Hutchinson, MN
Posts: 8
2509tigerbots is an unknown quantity at this point
Re: Camera IP Help

When we put in the IP, the I32's on the left block disappear and the wires going between the I32's break. The error code is -44003 with the source of

"WPI_CameraIssue HTTP Request with Authentication.vi>> WPI_CameraIssue Get.vi>> WPI_Camera Set Image Appearance Property.vi>> WPI_CameraSet Enum Appearance Property.vi>>WPI_Camera Set Image Size.vi>>Begin.vi>>Robot Main.vi <time> 22:02:16 01/29/2013<unique#>1020660"
Reply With Quote
  #5   Spotlight this post!  
Unread 29-01-2013, 17:54
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,731
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: Camera IP Help

Why are you putting an IP in the format statement?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 30-01-2013, 18:44
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 181
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: Camera IP Help

The string of %d's is there to provide a format for the code to use. It should get the correct IP by default, but only as long as you do not replace the format string with your robot's IP.

Your camera's IP should be 10.25.09.11. If you're not sure if your camera is configured correctly, plug it directly into your driver station PC and try visiting that IP address. (Start up the driver station beforehand to make sure your IP settings are correct.) If you can see a live feed there, then your camera should be set up correctly for use on the robot.
Reply With Quote
  #7   Spotlight this post!  
Unread 01-02-2013, 18:50
rainbowdash's Avatar
rainbowdash rainbowdash is offline
Director of Programming
AKA: Souvixada S.
FRC #1671 (Buchanan Bird Brains)
Team Role: Programmer
 
Join Date: Apr 2012
Rookie Year: 2005
Location: Clovis, CA
Posts: 28
rainbowdash is an unknown quantity at this point
Re: Camera IP Help

Quote:
Originally Posted by bvisness View Post
The string of %d's is there to provide a format for the code to use. It should get the correct IP by default, but only as long as you do not replace the format string with your robot's IP.

Your camera's IP should be 10.25.09.11. If you're not sure if your camera is configured correctly, plug it directly into your driver station PC and try visiting that IP address. (Start up the driver station beforehand to make sure your IP settings are correct.) If you can see a live feed there, then your camera should be set up correctly for use on the robot.
This works fo'realz ^
__________________
"Why change the code? Just reverse the polarity."
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 04:28.

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