再次感谢!
还有一些问题,由于我的cin里面的lsb是其他人完成的,请问如果我按上面的修改之后,是不是对应的c程序也需要修改?
另外开辟的数组大小是跟CIN的输入数据相关还是跟输出数据相关?输入数据有100M,一维数组。输出数据是一个400*800的二维数组
我把开辟的数组大小设为1000*1000时,程序还是会崩溃,如果设为10000*10000则提示内存不够。
If you modified the 1D array size in C, then YES, you need modified C program to allocate enough memory.
The new 2D array is for out. Only output array size matters.
You got 2 CINs in your VI.
Hi,as you say I got 2 CINs in my VI, and the CIN inside the event case structure also have the same problem.
I have changed the labview program based on your tips but it crashed again with any hint.
when the data got into the first CINs then after about 10 seconds the labview crashed,some times it just dead there and I even can not move the front pannel.
I only can close it through Task Manager.
when the data got into the first CINs then after about 10 seconds the labview crashed,some times it just dead there and I even can not move the front pannel.
I only can close it through Task Manager.
That's normal when you mess up with memory. Without look into C code, not much you can do.
I'm sorry.
Hi,晚上好!
我忽然想到了一件事,当我将含有CINs的那一部分移植到一个新的程序时,新的程序将能很好的给出正确的结果。
也就是将程序的其他部分去除,只剩下CINs的输入和输出,则程序能正常的运行,但是当加入后端的数据处理部分时,则运行到CINs那儿就会崩溃。
能不能帮忙解释一下这个现象呢,谢谢了!