LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

An exception within external code called by Call Library Function Node

Hi!

I get an error when using "IMAQ Match Color Pattern" function. The problem is that sometimes error occurs and sometimes works just fine even when I use the same input data.

Error message:
An exception occured within the external code called by a Call Library Function Node. This might have corrupted LabVIEW's memory. Save any work to a new location and restart LabVIEW.
VI "Tremor Tracker Main.vi" was stopped at node 0x0 of subVI "IMAQ Match Color Pattern"

Thanks for help,
Andrej Panjan
0 Kudos
Message 1 of 2
(2,779 Views)
Andrej,
 
Thanks for your post.  The error you are seeing typically comes when the user tries to reference a varaible in a method incorrectly from LabVIEW when using a call library node function.  These are buried in the IMAQ VIs at the lowest level.  The following discussion forum link talks about a similar situation that may help you. 
 
The error could be coming from several problems:
 
1) The installation of NI IMAQ of Vision is corrupt
- If the development files have been corrupted on your PC, it is possible that every now and then when a function is referenced, it will fail.  Try re-installing the lastest versions of your software.
 
2) Bad RAM
- The corrupted memory could also be bad RAM in your system.  Try running the program on a seperate PC or with only one RAM stick that you have tested and know to be good.
 
3) References in your code
- It is possible that your code is not closing a reference correctly or you are using a call library node function at another place in your program.  Verify that you close references properly and that no other DLLs are being called improperly.
 
Hope this helps!
 
Thanks,
 
Scott Savage
National Instruments
Applications Engineering
www.ni.com/support
0 Kudos
Message 2 of 2
(2,761 Views)