LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

What causes an "Unknown source position error in CVI?

I am running version 5.5 of CVI. I have a project I have been working on for some time. I have made some changes to the user interface and the code and now I get the above error when debugging the project. This is a fatal run-time error. The other line in the error message mentions a "non-debuggable thread". I saw this same error earlier today and resolved it by moving a piece of code in the source file (which shouldn't have made any difference). Since it has occurred again, I am wondering if anyone has any ideas as to a possible cause and solution. Thanks.
0 Kudos
Message 1 of 3
(3,751 Views)
This error usually means that an error happened in a module (DLL, LIB) or C file that is NOT in the project so the source code is not available. If you are using instrument drivers or custom controls, add the C source file for these to the project and it should show you the line of the error. If this is happening in a LIB or DLL from somewhere else then you will have to debug the source code for that module.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 3
(3,751 Views)
I have the same error report working with Active X component. "Fatal Run Time Error" Unknown source position,thread id 0X0....
In my application I call MS Word to create a report, and when I tried to Save the report generated in CVI in Word (*.doc) this problem happen.
Seems when the Call is done CVI doesn't have the necessary pointers handle to keep track in the MS side.
But how could be resolved ..I don't know !!!!
Jaime Ponce
0 Kudos
Message 3 of 3
(3,751 Views)