Go to Post Don't rely on the field staff to get every ball to work with your machine....engineer a robot that makes the change not matter. - PayneTrain [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 22-01-2012, 15:35
Dawg2T4's Avatar
Dawg2T4 Dawg2T4 is offline
Registered User
AKA: Chandler Douglas
FRC #3556 (GET SMART)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Lake City, Fl.
Posts: 31
Dawg2T4 is an unknown quantity at this point
Running the Camera through cRIO port 2

I'm the lead programmer over at Team 3556 based out of Lake City, and I have a problem that completely perplexes me.
When plugging the camera directly to the computer, we get a feed, however when running the camera through the cRIO port 2...nothing. I've looked through the code over and over again, but I can't find anything and after hours of looking online...I have resolved to ask for help.

Begin.vi


Vision Processing.vi


Dashboard Project
__________________
- Chander, star of Frisbeez in the Trap

http://www.youtube.com/watch?v=3bM_Sv3xJ54
Reply With Quote
  #2   Spotlight this post!  
Unread 22-01-2012, 15:38
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,833
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: Running the Camera through cRIO port 2

The camera normally (in 2012) plugs into the robot bridge/ap DLink, not the cRIO port 2.
With an IP address of 10.xx.yy.11 and an Administrator user account/password of FRC / FRC
Both the Dashboard and the cRIO are setup to request images that way by default.

The default code is setup for this. You just need to change back to "True"


To have the cRIO request images then echo them to the Dashboard you will have to add cRIO code that forwards the images.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 22-01-2012 at 15:42.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-01-2012, 15:41
Dawg2T4's Avatar
Dawg2T4 Dawg2T4 is offline
Registered User
AKA: Chandler Douglas
FRC #3556 (GET SMART)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Lake City, Fl.
Posts: 31
Dawg2T4 is an unknown quantity at this point
Re: Running the Camera through cRIO port 2

See, therein lies yet another problem. Our D-Link=Dead.
Is there anyway for us to at least "test" the camera through port 2?
__________________
- Chander, star of Frisbeez in the Trap

http://www.youtube.com/watch?v=3bM_Sv3xJ54
Reply With Quote
  #4   Spotlight this post!  
Unread 22-01-2012, 15:41
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Running the Camera through cRIO port 2

According to https://decibel.ni.com/content/thread/11629?tstart=0 you also need to call WPI_CameraSend Images To PC Loop.vi

Maybe once you get it working, you could write a guide for other people having the same problems.
Reply With Quote
  #5   Spotlight this post!  
Unread 22-01-2012, 15:52
Dawg2T4's Avatar
Dawg2T4 Dawg2T4 is offline
Registered User
AKA: Chandler Douglas
FRC #3556 (GET SMART)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Lake City, Fl.
Posts: 31
Dawg2T4 is an unknown quantity at this point
Re: Running the Camera through cRIO port 2

Where would we put that vi in the project code? Would it then replace existing code?
__________________
- Chander, star of Frisbeez in the Trap

http://www.youtube.com/watch?v=3bM_Sv3xJ54
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