LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem when using calloc function in CVI

Hello Roberto

You are right, i try to increase the number of elements in options>>Estimate number of elements menu. it's ok.  i also try to access the data in this struct array, no problem!  But i do not understand why CVI hide this one, in the begining i only think this menu function just display the variable. ......  I do not know why CVI like hide this.

anyway,I am sorry to bring you this problem. It's spent you so much time.

 

Thanks

Gerry Li

 

 

0 Kudos
Message 11 of 14
(1,291 Views)
I'm happy you have solved your problem. I have observed too some times this strange behaviour of Variables window inside CVI, but since the code was always well working I didn't considered it a serious problem.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 12 of 14
(1,280 Views)

Actually , This is second time i hitted by this kind of problem, last time was memory not fully displayed. the variables window is very useful while program debug. I am absolute sure, i am not first person that troubled by kind of problem, I hope the guys from NI could feedback this probelme to their development.

Thanks Again!

Gerry Li

0 Kudos
Message 13 of 14
(1,276 Views)
I just ran across this post and I decided to look at my main data acquisition program to see if I made any similar mistakes.  I found a couple but it wasn't in my cod it was in a couple library functions from NI.  Look at \CVI180\toolslib\toolbox\menuutil.c
0 Kudos
Message 14 of 14
(1,207 Views)