Go to Post Guys wearing pink, that strikes fear into my heart now :). - Cyberguy34000 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-12-2008, 01:46
koo_04 koo_04 is offline
Registered User
FRC #2493
 
Join Date: Dec 2008
Location: California
Posts: 47
koo_04 will become famous soon enough
Axis Camera Testing help

I would like ot get some help on getting the Axis camera to communicate with the laptop. I am running vista and trying to do this on LabVIEW. Please help! If anyone knows a good working VI, that would be great
  #2   Spotlight this post!  
Unread 20-12-2008, 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,748
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: Axis Camera Testing help

Are you hooking the camera to the cRIO, or directly to the PC?

Greg McKaskle
  #3   Spotlight this post!  
Unread 20-12-2008, 09:41
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,747
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: Axis Camera Testing help

I was working with Doug, we were hooking the camera directly to the PC. We set the IP address correctly on the PC and used the cross over cable. Turned off the firewall

Tested the connection with a web browser and that worked.

We are using a VI that we found on another thread. It gets an image an then throws an error about not being able to access the server (correct me if I am wrong here Doug).

Doug,
Have you tried accessing it since we set the root password?
  #4   Spotlight this post!  
Unread 20-12-2008, 10:27
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,748
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: Axis Camera Testing help

We seem to be double threading it here, but the error probably has nothing to do with the account authentication. That gives a pretty specific error message.

There are two TCP sessions being set up for the cRIO usage, one to the camera's server, and the other to the dashboard PC. Not having tried those VIs on the PC, it sounds like the camera session succeeds, but the dashboard is failing for some reason. It sounds like once the errors are done things work, correct?

Greg McKaskle
  #5   Spotlight this post!  
Unread 20-12-2008, 12:05
koo_04 koo_04 is offline
Registered User
FRC #2493
 
Join Date: Dec 2008
Location: California
Posts: 47
koo_04 will become famous soon enough
Re: Axis Camera Testing help

Well, when I click out of one error, it finds another. Then another, then another. And it keeps sending me deeper into the code. I spent 2 hours last night steping-into the code trying to find the esact spot where it first errors. I found it, but when i double checked, it was then somewhere else. Either way, always at a TCP protocall
  #6   Spotlight this post!  
Unread 20-12-2008, 12:45
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,721
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: Axis Camera Testing help

While the camera is connected directly to the laptop have you run "Setup AXIS camera"?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #7   Spotlight this post!  
Unread 20-12-2008, 13:21
CrazyCarl461's Avatar
CrazyCarl461 CrazyCarl461 is offline
Power User
AKA: Carl Agnew
FRC #0461 (Westside Boiler Invasion)
Team Role: Coach
 
Join Date: May 2003
Rookie Year: 2001
Location: West Lafayette, IN
Posts: 189
CrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant future
Send a message via AIM to CrazyCarl461
Re: Axis Camera Testing help

Quote:
Originally Posted by Greg McKaskle View Post
Not having tried those VIs on the PC, it sounds like the camera session succeeds, but the dashboard is failing for some reason. It sounds like once the errors are done things work, correct?
That is exactly what what is happening. I'm trying to go through and get rid of all the Send To PC stuff right now but it is hard to find it all. The code is usable if you don't mind saying "continue" to a bunch of boxes. Seems to me it might be handy to have a set of separate Camera VIs for use on a standalone computer. Either that or a boolean input to the Camera Start VI. Something that you NI guys might want to work on if you have spare time? Thanks for your help so far.
__________________
My 2011 Build Season Blog
Resistance may be futile, but capacitance has potential!
© All content is protected by the honor system
  #8   Spotlight this post!  
Unread 20-12-2008, 13:55
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,747
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: Axis Camera Testing help

Apologies for the double thread.

Once we created the FRC/FRC user on the camera, it started working.

Thanks for you help.

Now on to getting the cRIO flashed.
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Axis camera without the cRIO CrazyCarl461 NI LabVIEW 12 17-01-2009 10:53
axis camera - problem s0crates FRC Control System 11 16-12-2008 09:34
Camera Help (New to Camera Programming) Idaman323 Programming 6 14-01-2006 03:56
How do i connect the camera for testing? naor52 Programming 1 12-01-2006 01:11
Help testing RoboEmu 1.10 rbayer Programming 26 27-01-2003 06:50


All times are GMT -5. The time now is 09: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