cpubbs论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

LabVIEW+单片机学习套件全套教程资料下载[免费]LabVIEW论坛精华列表贴USB0816数据采集卡《LabVIEW宝典》
LabWindows/CVI论坛精华贴NET0816以太网数据采集卡RC0210远程设备授权系统 关闭关停锁定打开设备 户外分布式数据采集
NET1624低速高精度以太网数据采集卡WIFI0824SD无线WIFI网络数据采集卡脱机运行 SD存储 小尺寸微型 串口采集远程采集 安卓 手持移动采集 纪录仪
查看: 4732|回复: 14

[labview求助] NI MAX使用

[复制链接]
发表于 2017-4-24 10:33:05 | 显示全部楼层 |阅读模式
请问NI MAX新建NI-DAQmx任务出现初始化错误的提示是什么原因呢??
求各位大神指教   谢谢啦~

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2017-4-24 15:28:15 | 显示全部楼层
 楼主| 发表于 2017-4-25 10:32:16 | 显示全部楼层

嗯嗯  装了的,但是每次打开都出现这种初始化错误的情况,不知道是怎么回事
发表于 2017-4-25 11:40:06 | 显示全部楼层
采集卡呢?插到电脑上没有?
发表于 2017-4-25 11:42:24 | 显示全部楼层
还有一个是你的这些NI的服务打开了没有?参考这里http://digital.ni.com/public.nsf ... 48E862577A4005B6BAA
发表于 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

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:


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:
  • 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.
 楼主| 发表于 2017-4-25 15:52:05 | 显示全部楼层
谢谢你!我现在就想利用里面的虚拟通道,还没有要求实际的信号采集,所以没有采集卡。    看了一下配置的界面,里面的NI device loader   NI License server  都是已停止的状态  在服务的界面启动它们但是有的显示错误  有的启动后停止    请问怎么让它们保留在启动的状态呢??
 楼主| 发表于 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  都是已停止的状态  在服务的界面启动它们但是有的显示错误  有的启动后停止    请问怎么让它们保留在启动的状态呢??

发表于 2017-4-25 15:58:15 | 显示全部楼层
你按上面贴子中转贴的内容试试,就是开始菜单里面输入msconfig,在里面勾选上后,就会自启动了
 楼主| 发表于 2017-4-25 19:35:13 | 显示全部楼层
babycu 发表于 2017-4-25 15:58
你按上面贴子中转贴的内容试试,就是开始菜单里面输入msconfig,在里面勾选上后,就会自启动了

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


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2017-4-26 10:47:27 | 显示全部楼层
试试在控制面板,有一个管理工具,点进后有一个"服务",找到相应的服务,然后右击它,选属性,出来面板上面点击自动启动,试试看,这样下次启动它就自动启动
发表于 2017-4-26 10:48:03 | 显示全部楼层
估计你有优化软件,比如电脑管家之类的,将这些服务优化掉了开机启动
 楼主| 发表于 2017-4-26 14:08:39 | 显示全部楼层
babycu 发表于 2017-4-26 10:48
估计你有优化软件,比如电脑管家之类的,将这些服务优化掉了开机启动

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

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2017-4-26 17:34:42 | 显示全部楼层
没遇着过,把所有服务弄成自动后,你重启电脑试试看
 楼主| 发表于 2017-4-28 14:48:22 | 显示全部楼层
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cpubbs论坛. ( 粤ICP备09171248号 )

GMT+8, 2025-5-2 20:01 , Processed in 0.505126 second(s), 7 queries , Gzip On, File On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表