10-27-2008 01:10 PM
Hey everyone, I have some code that I've been running in LabVIEW using pix taken previously that uses vision feature detection on TIFF images to determine the angle of a super imposed sign wave like feature. The problem I am having is that, even after testing 150+ of these images, when I obtain the picture straight from a camera instead of saving the file first, the c code stops working and seems to be running through an infinite loop. I have narrowed it down to the fact that it is somehwere within my code, but I don't know why it would stop working for a captured image as opposed to an image from file when the rest of the code still works properly.
any ideas?
10-28-2008 12:27 PM
Rock Climber,
I have a few questions for you before I can really answer your question.
You said in the first sentence that you're suing LV, but then stated that the c code stops working, which are you using?
Did you develop this code from scratch?
Is it possible for you to show your code, or a simplified version of it?
10-28-2008 02:49 PM
I believe that I have solved the problem. I was using c with a CIN in LabVIEW and I'm not sure how, but between copying the program from one computer to another one of the values changed from a double to an int.
thanks for your help,
scott