Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

what means this error message?

an exception occurred within the external code called by a call library node. This may have corrupted LabVIEW's memory. You should have save any work to a new location. any restart LabVIEW. VI "Main.vi" was stopped at node 0x70 of sub VI "IMAQ Spoke"
0 Kudos
Message 1 of 9
(4,206 Views)
It sounds like there may be something wrong with your installation of IMAQ Vision software. IMAQ Spoke is one of the functions that is installed with the Vision software, and there isn't any way for you to debug the dll. Try running an example program that includes this function, and if that still doesn't work, I would reinstall the Vision software.
Hope this helps-
Julie
0 Kudos
Message 2 of 9
(4,206 Views)
How Can I fix that problem?
0 Kudos
Message 3 of 9
(4,206 Views)
This problem occured sporadically? Which version of IMAQ Vision was used? Can you isolate this problem into small VI and post this VI here (with image probably)?
0 Kudos
Message 4 of 9
(4,206 Views)
This Problem occure sporadically.
IMAQ Vision is 6.1
VI is too large to attatch here.
file is ring aquisition's processing file
0 Kudos
Message 5 of 9
(4,206 Views)
Try to make following:
Open IMAQ Dispose.vi and isolate this function completely with case structure, then try again, I know, this incorrect, but just try...
Is problem still present?
See screenshot.
0 Kudos
Message 6 of 9
(4,206 Views)
I will try the test.
But it hardly causes trouble.
When it has the test, it couldn�t cause problem.
Actually, I don�t know why I do the test.
Also, I want to know why I should do the test.
I did the test by my method then I will show you my method through attached file.
Is my method exactly alike your method?
Please, reply me
0 Kudos
Message 7 of 9
(4,206 Views)
Hello,

Your method exactly the same (but in your case you must find all instances of IMAQ Dispose and isolate all of them. With my method this must be performed only once)
It was just idea. Before I've got the same trouble (sporadically crashed IMAQ functions, but it was other functions - sometimes IMAQ FundEdges, ParticleFilter and so on...) It happened with 6.1 (or 6.0.1). In my application a lot of images was created and disposed dynamically. So after isolating IMAQ Dispose this problem with crashes goes away. (When you don't calling IMAQ Dispose, then imaqes don't removed. When IMAQ Create called again with the same name, then existing image returned - so you have no memory leak in this case). When with isolating IMAQ D
ispose problem was solved, then I had reorganized my code for creating images pool only once by start and then IMAQ Dispose was "uncommented" and called only by the end of application. With IMAQ Vision 7 this problem not present. (Now I working only with IMAQ Vision 7).
I'm not sure, that you have same trouble, but may be...
In any case best way for solution - reduce application step by step up to simple example (where problem exists). Then you can ask for support National Instruments.
Other possible ideas for your problem:
- may be you have done with upgrade from IMAQ Vision 5 to 6. Be sure that NIVision.dll and NIVisSvc.dll was overwritten with version 6 (you can control this in Windows Explorer).
- if you using your own dlls, then may be your dlls write information outside of arrays, or images, then memory can be damaged, and, as result other part of code crashed.
0 Kudos
Message 8 of 9
(4,206 Views)
I have found the same error in my code and from what I can tell it has nothing to do with the subVI that is mentioned in the error message.

The specifics in my case: The error occurs at the start of the program when everything is initializing and the error message comes back that it was stopped at node 0xD64 of "IMAQ Init.vi".

Now here is the strange part - first, this error only occurs when I run the built executable. Running from source code it works fine. Second, and the reason I question whether it has anything to do with IMAQ stuff at all, is that the error never occured in a previous version of my code. So you may ask what change I made between the version that worked and the one that didn't? I only added a text indicator to the front panel of my mai
n application vi and displayed the software version number. I tried it numerous times. Put the text box in and compile and it gets an error. Without the text box it runs fine. Again it is only the built application that has errors, source code doesn't. So, I tried just typing the version right on the front panel rather than making it an indicator. The first time I tried this failed also. The second time I tried it worked. Go figure.

Just thought I would mention that you may want to look beyond just vi mentioned in the error message.
0 Kudos
Message 9 of 9
(4,206 Views)