Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Getting data out of a camera array + more (http://www.chiefdelphi.com/forums/showthread.php?t=100689)

Teamcodeorange 19-01-2012 23:32

Getting data out of a camera array + more
 
1 Attachment(s)
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!

Teamcodeorange 20-01-2012 00:08

Re: Getting data out of a camera array + more
 
Aww, can anyone help? :(

SuperS_5 20-01-2012 03:26

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.

Greg McKaskle 20-01-2012 07:24

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

MotorHead 20-01-2012 11:29

Re: Getting data out of a camera array + more
 
1 Attachment(s)
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 (Post 1109509)
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!


Greg McKaskle 20-01-2012 18:04

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

Teamcodeorange 22-01-2012 13:12

Re: Getting data out of a camera array + more
 
Thanks guys!:D :D :D


All times are GMT -5. The time now is 11:32.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi