LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI gets unrecoverable error and quits when compiling

Hi when I compile this I get an unrecoverable error and CVI quits.  Please let me know how to fix it.
 
Thanks
Dave
 
0 Kudos
Message 1 of 5
(3,137 Views)
So I fixed this by copying functions one by one to another file and fixing the syntax.  So if the CVI folks want to improve their CVI program so it doesnt crash then they can look at it, otherwise I dont need any help on the issue.
 
 
Thanks,
Dave
0 Kudos
Message 2 of 5
(3,134 Views)
How did you fix it?  You copied the functions to another file one by one and changed the syntax?  What syntax did you have to change?  Just curious.

Grant


Grant M. Johnson
Project Engineer
LECO Corporation
0 Kudos
Message 3 of 5
(3,108 Views)
Here is the fixed one.  There were syntax errors in the original file that i was fixing because I was porting it from cpp. 
they had declarations like:
int eval_exp(int &value);
and
cout << a;
which cvi doesnt understand which is ok cause i can fix it.
 
the part I dont like is the unrecoverable error 001B:001.......   some big number.
I think there may have be a funny invisible character? in the first file that copying to the buffer fixed.
or
there is some combination of syntax errors in the first file that causes the crash.
To fix it i copied the file top down through this function:
bool load_program(char *p, char *fname)  
then 1 by  1 copy and pasted functions from the bottom up of the bad file, fixing syntax errors as they were pasted in.
 
Thanks for you attention on this matter
 
 
 
0 Kudos
Message 4 of 5
(3,099 Views)

Thanks for the heads up about this. I have filed a bug report for further investigation for this issue.

Bilal Durrani
NI
0 Kudos
Message 5 of 5
(3,081 Views)