LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW crashes when using a certain .vi

Hi guys, 

 

im having trouble with image processing. Everything was going smoothly until I tried to use the distance transform .vi 

 

I was doing some image segmentation and all of a sudden labview crashed to desktop without showing any kind of message. I have a decent laptop. i7 8GB of ram. I am running LabVIEW 2014 32bit. I was able to narrow it down to the distance transform .vi I even created another little program where I threshold an image and try to apply the distance transform and it crashes too. (The .vi is attached) 

 

I tried using the danielson transform but it does absolutely nothing. 

 

Is there anything I can do? should I reinstall the vision module? Everything else I have tried has worked. 

Download All
0 Kudos
Message 1 of 5
(3,198 Views)

Can you check your LabVIEW internal reports directory to see if it has any information there?

 

In Windows, the usual location is:

My Documents\LabVIEW Data\LVInternalReports\LabVIEW\<Version number>\

 

If there are a lot of folders there, check the ones with timestamps matching your crashes from this VI.  There may be text files or ZIP files with text files in them that you can read and/or post.

0 Kudos
Message 2 of 5
(3,164 Views)

I tried your code using the PNG that you attached as the data file.  No errors, and it returned this:

Images.png

I'm running LabVIEW 2016 (32-bit) and NI Vision on a Windows 10 (64-bit) laptop.

 

Bob Schor

0 Kudos
Message 3 of 5
(3,144 Views)

Strange! I suggest you repair (or reinstall) the Vision Module, it might help.

0 Kudos
Message 4 of 5
(3,122 Views)

We've seen someone else can run it without crashing.  Do you have another PC you can try it on?  It's possible you've run into a bug that was fixed between 2014 sp1 and 2016.

 

Which OS are you on?  (Trying to find as many similarities/differences with Bob's setup)

0 Kudos
Message 5 of 5
(3,090 Views)