Go to Post We are in the business of teaching our students. One of those things should be respect for the rules... - Tuba4 [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 19-01-2012, 23:32
Teamcodeorange's Avatar
Teamcodeorange Teamcodeorange is offline
Registered User
FRC #3476
 
Join Date: Jan 2011
Location: US
Posts: 236
Teamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant future
Getting data out of a camera array + more

This is probably really simple but I can't figure out what block I need.

I want to get the data out of the vision processing block's array and I can't figure out how. The wire is pink if that helps. (see upload)

also... I tried to find the NI pdf that tells you exactly how to FTP the image processing files onto the cRio, but I can't. The only thing I can find is this: https://decibel.ni.com/content/message/30853#30853 Are there any step-by-step guides? I know some networking but I don't know everything about the file structure of the cRio or how to tell the program where the files are.

Thanks!
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	52
Size:	23.6 KB
ID:	11465  
Reply With Quote
  #2   Spotlight this post!  
Unread 20-01-2012, 00:08
Teamcodeorange's Avatar
Teamcodeorange Teamcodeorange is offline
Registered User
FRC #3476
 
Join Date: Jan 2011
Location: US
Posts: 236
Teamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant future
Re: Getting data out of a camera array + more

Aww, can anyone help?
Reply With Quote
  #3   Spotlight this post!  
Unread 20-01-2012, 03:26
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
Re: Getting data out of a camera array + more

The are sine examples for the vision stuff. Typically all vision acquisition and recognition occurs in the vision vi and not in the periodic tasks vi. The Tracking data would then be sent via a global Vatican or functional global. If you need help with the globals then come and ask CD.
__________________
Mike B
Reply With Quote
  #4   Spotlight this post!  
Unread 20-01-2012, 07:24
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,751
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: Getting data out of a camera array + more

It actually looks like this is in the teleop. That is not a good place to introduce vision. Vision acquisition and processing was broken out and placed in parallel so that teleop would not have to wait for the camera and image processing to complete.

As for what the pink wire is -- it is an image refnum. To get information from it, you have to use the vision functions from the vision palette.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 20-01-2012, 11:29
MotorHead's Avatar
MotorHead MotorHead is offline
Programming Mentor
AKA: Jeff Beltramo
FRC #1922 (OZ-Ram)
Team Role: Coach
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Concord, NH
Posts: 68
MotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to behold
Re: Getting data out of a camera array + more

The pink wire is an array of clusters and needs to be unbundled. Attached is code that will do that. The input 'Index In' is what target information do you want. The vision processing routine returns up to four targets in the array.

Hope that helps.




Quote:
Originally Posted by Teamcodeorange View Post
This is probably really simple but I can't figure out what block I need.

I want to get the data out of the vision processing block's array and I can't figure out how. The wire is pink if that helps. (see upload)

also... I tried to find the NI pdf that tells you exactly how to FTP the image processing files onto the cRio, but I can't. The only thing I can find is this: https://decibel.ni.com/content/message/30853#30853 Are there any step-by-step guides? I know some networking but I don't know everything about the file structure of the cRio or how to tell the program where the files are.

Thanks!
Attached Thumbnails
Click image for larger version

Name:	Unbundle.jpg
Views:	44
Size:	66.4 KB
ID:	11474  
__________________
Jeff Beltramo
Team #1922
Concord, New Hampshire

Reply With Quote
  #6   Spotlight this post!  
Unread 20-01-2012, 18:04
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,751
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: Getting data out of a camera array + more

Ahh. I didn't get that it was targeting data. The unbundle code shown is the way to go.

Good luck.
Greg McKaskle
Reply With Quote
  #7   Spotlight this post!  
Unread 22-01-2012, 13:12
Teamcodeorange's Avatar
Teamcodeorange Teamcodeorange is offline
Registered User
FRC #3476
 
Join Date: Jan 2011
Location: US
Posts: 236
Teamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant future
Re: Getting data out of a camera array + more

Thanks guys!
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 11:32.

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