Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Programming Vision Tracking (http://www.chiefdelphi.com/forums/showthread.php?t=100935)

Teamcodeorange 22-01-2012 23:25

Programming Vision Tracking
 
Hello. I am trying to make a basic program that enables our robot to simply turn to face the vision target. I have already used the vision assistant to make a reliable .vi and I need help with the rest of the program inside labview.

Link to file:

www dot mediafire dot com/?84xtjrnrw421cr2

(replace "dot" with period)

So basically I don't know:

A. How to ftp the reference image onto the crio and have the program know where it is.

B. Whether the rest of the program will work

C. Am I missing anything?


Thanks! :D

Teamcodeorange 22-01-2012 23:29

Re: Programming Vision Tracking
 
I just realized that you will need the vision .vi too. :yikes: :yikes:

here: www dot mediafire dot com/?k8pndljn4x76a8o

I believe that if you extract the "custom vi" folder to your documents it should work.

Mark McLeod 23-01-2012 11:08

Re: Programming Vision Tracking
 
Your new vi's just need to
  1. Get copied into the appropriate Documents->LabVIEW Data project folder
  2. Open your LabVIEW project
  3. Then drag the new vi's from the project folder onto the Project Explorer window and onto the Team Code sub-folder
  4. Add the appropriate vi calls to your regular code
It all gets compiled into your regular project and downloaded as an integral part of that.

Teamcodeorange 23-01-2012 20:39

Re: Programming Vision Tracking
 
Quote:

Originally Posted by Mark McLeod (Post 1111834)
Your new vi's just need to
  1. Get copied into the appropriate Documents->LabVIEW Data project folder
  2. Open your LabVIEW project
  3. Then drag the new vi's from the project folder onto the Project Explorer window and onto the Team Code sub-folder
  4. Add the appropriate vi calls to your regular code
It all gets compiled into your regular project and downloaded as an integral part of that.

Ok, what about ftp-ing the reference image?

Greg McKaskle 23-01-2012 22:34

Re: Programming Vision Tracking
 
I'm a little unsure of what reference image needs to be ftp-ed, but you can use any ftp program, or even the MS File Explorer. You type ftp://10.te.am.02 into the file path prompt and you should see the cRIO file system via ftp. I don't have one with me, but select a directory to put the image and drag it in. You may then need to update the path to point to that location. For paths on the cRIO built on Windows, I think that c:\ is equivalent to the / root.

Greg McKaskle


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

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