Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Labview Target Info Broken Wire in Vision Processing (http://www.chiefdelphi.com/forums/showthread.php?t=102388)

rivasm 09-02-2012 17:39

Labview Target Info Broken Wire in Vision Processing
 
2 Attachment(s)
Vision processing to get the camera to detect the reflective tape and the distance from the camera has proven to be a difficult task. We have continued getting errors from the vision processing in the diagnostics of our driver station, and cannot seem to communicate distance whatsoever. I have found in several threads to copy and paste the example rectangular target processing code into the vision processing vi. Attempting that, we got one particular error, which is attached in the first attachment. Any help with this is very very appreciated, especially if there are screenshots :)

Greg McKaskle 09-02-2012 18:36

Re: Labview Target Info Broken Wire in Vision Processing
 
The issue is that your code is trying to write to a global variable called Target Info, but no variable has been declared. The tutorial that goes with the example code actually recommends that you use Save As with Dependencies. That will overwrite the Vision Processing VI in a manner similar to your edit, AND it will overwrite the Robot Global, adding the Target Info declaration. You can also do this by hand by opening the Robot Global in both projects and adding the control from the example to the file in your robot project.

Greg McKaskle

rivasm 09-02-2012 21:55

Re: Labview Target Info Broken Wire in Vision Processing
 
Quote:

Originally Posted by Greg McKaskle (Post 1123317)
The issue is that your code is trying to write to a global variable called Target Info, but no variable has been declared. The tutorial that goes with the example code actually recommends that you use Save As with Dependencies. That will overwrite the Vision Processing VI in a manner similar to your edit, AND it will overwrite the Robot Global, adding the Target Info declaration. You can also do this by hand by opening the Robot Global in both projects and adding the control from the example to the file in your robot project.

Greg McKaskle

Oh, wow, that's a pretty simple solution. There's a tutorial? Any links you can give me, perhaps?

Greg McKaskle 10-02-2012 08:31

Re: Labview Target Info Broken Wire in Vision Processing
 
The launch screen or View>>Getting Started Windows has four tabs, one is Tutorials, #8 is about vision.

Greg McKaksle


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

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