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.
修改时间 01-31-2019 01:18 PM
您好,我用labview 2018 (64-bit)写了加法和减法vi并生成了dll文件,然后我用python的ctypes包调用该dll文件,发现可以成功load该文件,但调用函数时无论我输入任何初值,最终输出结果都是1018。这里的1018是不是labview的错误代码?如果是,又该如何解决这个问题?非常感谢!
修改时间 02-01-2019 02:12 AM
您好,
请问您的Python 也是 x64 bit吗?
https://forums.ni.com/t5/LabVIEW/Labview-2018-Python-x64/td-p/3799096
修改时间 02-01-2019 09:09 AM
感谢回复,python也是64-bit的,32-bit会直接报错,而不是输出1018
修改时间 02-11-2019 12:35 AM
您可以参考这个论坛:https://forums.ni.com/t5/LabVIEW/Call-a-Labview-DLL-with-Python-Access-violation-what-to-do/td-p/218...
修改时间 02-11-2019 06:33 PM
我是直接用python调用vi文件在labview环境下运行的,可以正常调用。需要注意的是,此时不能把连线版接上,否则会导致数据残留之类的错误。
修改时间 05-25-2022 07:52 AM
您好,请问问题解决了吗?我运行你的py文件输出的结果是0
What do you need our team of experts to assist you with?
Thanks!
We'll be in touch soon!