"一个迷茫的人" <lattos@163.com> wrote:
>GGJJ:
> 本人须对采集一组数据进行处理,看了论坛上的文章得知用DLL可实现数据处理,且执行速度
>快。但是本人编写了一个简单的测试程序,DLL的功能是直接将读入的长度为5数组原样输出,在
>程序执行时发现了如下错误:
> Error #3 : "memory.cpp",line 563 LabVIEW version 6.1. For assistance
>in
>resolving this problem, please record the preceding information and navigate
>to
>www.ni.com/failure,or contact National Instrumemts.
> 本人也曾登ni.com/failure但还是找不到解决问题的方法。还有在CIF配置中添加的函数的
>参数,我不知道哪些是输入哪些是输出,望好心的GGJJ能够指点指点,若能给我一个输出类型数
>组的例子就最好不过了,在这里先谢过了。
> 程序见附件。
1. Check you VI, make sure you are using the right calling convention.
2. I would recommand you use LabVIEW's data type instead of C data type.
For LabVIEW array data type definition, take a look extcode.h
3. Initialize output array in LabVIEW if you can.