LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

building application, Fatal Internal Error: "datatype.cpp"

When trying to build an application I've developed, the compiler crashes with message 'Fatal Internal Error: "datatype.cpp" . Same thing happens if I try to recompile all VIs by pressing Ctrl+Shift run in the main VI. The application still runs without problems. If I checkout yesterdays sources from CVS archives everything works as expected. However Im having some trouble narrowing in on what causes this problem, so if anyone has any clue about it I would be grateful.
0 Kudos
Message 1 of 7
(3,007 Views)

hi there

if the error message supplies some information like "BDHP:addresses.." or "FPHP:addresses.." then try this:

- add the line "LVdebugKeys=True" to your LabVIEW.ini file
- restart LV
- provoke the error message and note the addresses
- click "CTL + SHIFT + d" and then "CTL + SHIFT + h", this will open the heap window
- search for the VI and the address the error occured in the list on the heap window
- mark the line and click the "F" button on the heap window
- the mouse will jump to the place where the error occures

best solution is then to delete the code at that place and to rewrite it. 

good luck and let us know

 

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 7
(3,001 Views)
Thanks for your help, those sounds like good tips. Unfortunately no adress information is given in the error message, only "Fatal internal error: 'datatype.cpp', line 6334" where the line number is not allways the same.
0 Kudos
Message 3 of 7
(2,998 Views)
I think I've located the error to the compilation of one particular subVI. Strangely, if I open my main VI, which calls the sub VI, and then presses ctrl+shift+run, labview crashes. If I however first open the sub VI, compiles it with ctrl+run, and then opens the main VI, I can compile the whole bunch without problems. Anyone got any idea where this kind of behaviour comes from?
0 Kudos
Message 4 of 7
(2,981 Views)
hi there
 
are there any dlls, COM-objects or other external ressources involved?
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 5 of 7
(2,978 Views)
No, not in the parts that are giving me trouble.
0 Kudos
Message 6 of 7
(2,976 Views)
can you post the code?
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 7 of 7
(2,971 Views)