Go to Post PS. Listen to the wise Brandon Martus. Think before you (re)act. - artdutra04 [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 20-02-2011, 21:59
pedro123 pedro123 is offline
Registered User
FRC #3803
 
Join Date: Feb 2011
Location: USA
Posts: 9
pedro123 is an unknown quantity at this point
Vision Code

Hi,

We are a rookie team for the upcoming competition and we had a question. We know the benefits of the axis camera and everything and we looked through sample code in LabView to learn its functionality but there is still one thing we don't know how to do.

What is the code we need to get the images from the axis camera and display them in the dashboard. we have the camera connected to power and to the crio through an ethernet cable but we dont have any code in our teleop or autonomous to provide the images from the camera. We dont want to process them for line following or anything, we just want to see the images in our dashboard... What would the code be for that? and where would you put it as well. We have looked it up, including on frcmastery, but we couldnt get anything.

Any help is appreciated. Thank you!
Reply With Quote
  #2   Spotlight this post!  
Unread 21-02-2011, 01:08
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: Vision Code

The code to read the camera image and forward it to the Dashboard is built in to the default LabVIEW robot project. You need to do three things to make it work:

1. Configure the camera with the required user and password as directed in the How to Configure Your Camera document
2. Connect camera power to the dedicated 5v output on the Power Distribution board
3. Connect the camera to Ethernet Port #2 on the cRIO using a crossover cable

That's all you should have to do.
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:31.

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