tumble 发表于 2017-4-24 10:33:05

NI MAX使用

请问NI MAX新建NI-DAQmx任务出现初始化错误的提示是什么原因呢??
求各位大神指教   谢谢啦~

babycu 发表于 2017-4-24 15:28:15

装了daqmx没有?

tumble 发表于 2017-4-25 10:32:16

babycu 发表于 2017-4-24 15:28
装了daqmx没有?

嗯嗯装了的,但是每次打开都出现这种初始化错误的情况,不知道是怎么回事

babycu 发表于 2017-4-25 11:40:06

采集卡呢?插到电脑上没有?

babycu 发表于 2017-4-25 11:42:24

还有一个是你的这些NI的服务打开了没有?参考这里http://digital.ni.com/public.nsf/allkb/03123D0E8A36C48E862577A4005B6BAA

babycu 发表于 2017-4-25 11:42:59

Why Do I Receive Error -229771 at DAQmx Start Task.vi?


Primary Software: Driver Software>>NI-DAQmx
Primary Software Version: 7.0
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>LabVIEW Base Development System, LabVIEW Development Systems>>LabVIEW Full Development System, LabVIEW Development Systems>>LabVIEW Professional Development System


http://digital.ni.com/images/global/us/invis.gif


Problem:
I have configured a DAQ Assistant for task with my DAQ card. Everything seems to be set up correctly but when I run my VI I get the following error:

http://digital.ni.com/public.nsf/$CXIV/ATTACH-AEEE-9H4M8Z/$FILE/KB_5djc03ww.PNG
Why am I getting this error?

Solution:
There are several different things to check that could be causing this error:

[*]Check to make sure all necessary NI services are configured to start automatically. Go toStart » Run and type msconfig to open the Configuration Manager. Check for NI Configuration Manager and NI Device Loader:
http://digital.ni.com/public.nsf/$CXIV/ATTACH-AEEE-9H5PCK/$FILE/KB_5djc03ww_2.PNG
[*]This error could also be caused by having installed DAQmx from an account that is not a system administrator. Confirm that you installed this from an administrator account.
[*]There could be a conflict between DAQmx and another software package on your computer. The most common instance of this is with antivirus packages. For example, McAfee released a major update to their Security Center in September 2010, v10.5.195, which when installed over DAQmx will cause error -229771. NOD32 antivirus is also known for causing issues with NI software, see the related link below for more information. There may be similar issues with other antivirus, anti-malware, or firewall software.
[*]Saving the VI, project, or application containing this DAQmx Start Task.vi on a secured network drive may cause this error. Try to move your files onto a local drive and check to see if this error persists.
[*]This error can be caused by the Measurement & Automation Explorer's database becoming corrupt. This configuration can be reset to solve this issue. See the linked KnowledgeBase, What is the Process For Resetting the MAX Database? for instructions on how to do this.
If none of these suggestions resolves your issue please contact NI Technical Support atwww.ni.com/support.

tumble 发表于 2017-4-25 15:52:05

谢谢你!我现在就想利用里面的虚拟通道,还没有要求实际的信号采集,所以没有采集卡。    看了一下配置的界面,里面的NI device loader   NI License server都是已停止的状态在服务的界面启动它们但是有的显示错误有的启动后停止    请问怎么让它们保留在启动的状态呢??

tumble 发表于 2017-4-25 15:52:38

babycu 发表于 2017-4-25 11:42
Why Do I Receive Error -229771 at DAQmx Start Task.vi?





谢谢你!我现在就想利用里面的虚拟通道,还没有要求实际的信号采集,所以没有采集卡。    看了一下配置的界面,里面的NI device loader   NI License server都是已停止的状态在服务的界面启动它们但是有的显示错误有的启动后停止    请问怎么让它们保留在启动的状态呢??

babycu 发表于 2017-4-25 15:58:15

你按上面贴子中转贴的内容试试,就是开始菜单里面输入msconfig,在里面勾选上后,就会自启动了

tumble 发表于 2017-4-25 19:35:13

babycu 发表于 2017-4-25 15:58
你按上面贴子中转贴的内容试试,就是开始菜单里面输入msconfig,在里面勾选上后,就会自启动了

都勾选了,但是状态还是已停止,然后只能点确认。最后并没有改过来。不知道是不是安装有问题还是怎么回事。


babycu 发表于 2017-4-26 10:47:27

试试在控制面板,有一个管理工具,点进后有一个"服务",找到相应的服务,然后右击它,选属性,出来面板上面点击自动启动,试试看,这样下次启动它就自动启动

babycu 发表于 2017-4-26 10:48:03

估计你有优化软件,比如电脑管家之类的,将这些服务优化掉了开机启动

tumble 发表于 2017-4-26 14:08:39

babycu 发表于 2017-4-26 10:48
估计你有优化软件,比如电脑管家之类的,将这些服务优化掉了开机启动

我在服务界面修改启动时出现这个提示
这个是因为优化软件将这些服务优化了吗?始终不能变成启动状态:(

tester 发表于 2017-4-26 17:34:42

没遇着过,把所有服务弄成自动后,你重启电脑试试看

tumble 发表于 2017-4-28 14:48:22

tester 发表于 2017-4-26 17:34
没遇着过,把所有服务弄成自动后,你重启电脑试试看

好的   我试试谢谢你
页: [1] 2
查看完整版本: NI MAX使用