Benchtop Measurement and Test
Distributed Measurement and Control
High-Performance Test
Systems Engineering Software
Perspectives showcases how NI sees what’s next in the world of test and technology.
You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
修改时间 07-27-2014 04:37 PM
求帮忙啊:我按教程编写一个简单的vi想封装成DLL文件,但是Funktion Prototype的类型为void的,这样封装出来的DLL文件没有任何数据的输出,想问问大神们,怎么更改
VI是最简单的数据放大
到封装的时候Function Prototype 却成了void类型的了, VI Output成了 (none)
我是菜鸟,求大神帮忙啊!
已解决! 转到解答。
07-27-2014 08:28 PM - 编辑日期 07-27-2014 08:29 PM
labview生成.dll的默认返回值是void,返回值支持 Void or Numeric两种数据类型,首先要保证你的VI输出变量中有数值型的控件,然后你需要把输入输出的控件连接到接线端上。这样你再生成.dll时,就会在返回值右侧的选项中看到数值可选项了。 当然,如果你想返回其他数据类型的值,可以将它当成形参对待,需要你传进去指针,这样函数运行结束,该指针中就有执行完后的值了。
修改时间 07-27-2014 11:11 PM
感谢,感谢,成功了
What do you need our team of experts to assist you with?
Thanks!
We'll be in touch soon!