|
Prev: VI server in executable
Next: Re : Re: fermeture VI
From: memeje83 on 6 May 2008 23:10 Can anyone tell what's wrong with my VI? I'm completely new to LabView, but someone told me it may be a good solution to my project at school. Right now I have a VI that's supposed to capture images of fan blades with the NI 1722 Smart Camera. The VI (or program) that I have is supposed to determined the positioning of the tip of the fan blades along the Y-Axis (X-Coordinates are completely ignore since the displacement measurement I want to find is when a blade has gone up or down in the picture). The program figures out which part of the blade to analyze by using a template that I created through the NI template Editor. This is all fine, this part works, but then when I run the program, the values fluctuate, meaning eventhough there is no object in the image, the displacment is supposed to just read 0, but it doesn't, it sees a value which I believe is the position of just the first blade. Now I dont know why this error that seems to be coming from the "IMAQ Find CoordSys (Pattern 2)" is happening. I was able to determine where the error was coming from by running my code in the "highlight execution." I've been working on this program for some time now and I thought it was working fine until I found this error. Any help would be greatly appreciated. error.jpg: http://forums.ni.com/attachments/ni/170/321591/1/error.jpg displacement_camille4.vi: http://forums.ni.com/attachments/ni/170/321591/2/displacement_camille4.vi
From: mathan on 7 May 2008 01:40 <a href="http://forums.ni.com/ni/board/message?board.id=170&thread.id=321592" target="_blank">duplicate post</a>
|
Pages: 1 Prev: VI server in executable Next: Re : Re: fermeture VI |