LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW CIN crashes when taking pictures

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?

0 Kudos
Message 1 of 3
(2,496 Views)

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?

Chris Van Horn
Applications Engineer
0 Kudos
Message 2 of 3
(2,474 Views)

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

0 Kudos
Message 3 of 3
(2,465 Views)