From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
|
我安装了PCI数据采集卡并且运行我的程序,但是我得到错误-10401:未知设备错误。它说:“ 该设备不是NI的产品,驱动不支持该设备。”然而,当我打开Measurement and Automation Explorer(MAX),可以看到设备并且对测试反映正常。这个错误在LabVIEW运行时插入GPIB USB设备时也有发生。
该错误(-10401)的原因是当LabVIEW第一次加载时得到所有硬件的句柄。因此如果硬件在LabVIEW获得硬件句柄时还不存在或者没有安装完就会出现错误。对于PCI设备,可能在MAX完成对设备安装之前就启动LabVIEW了。类似地,任何LabVIEW打开后安装的USB设备将在LabVIEW中找不到。
你需要做的就是关闭你的程序,退出LabVIEW,在硬件完全安装好之后再重新打开LabVIEW。
这个错误的另外一个原因是试图用Traditional NI-DAQ (Legacy)驱动和DAQ设备通信,但驱动需要重启来应用这个设备。重启的方法是:打开 Measurement and Automation Explorer (MAX),选择 "Devices and Interfaces"(设备与接口),右键单击"Traditional NI-DAQ (Legacy) Devices" 并且选择"Reset driver for Traditional NI-DAQ." 记住这种做法仅当使用Traditional NI-DAQ才适用。如果用NI-DAQmx驱动,右键单击"NI-DAQmx Devices"中的设备名称并且选择 "Reset Device."(重启设备)
|