NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

脉冲信号触发采集

将冲击采集放到整个循环的外面会弹一个叫50103的错误,
Error -50103 occurred at DAQmx Read (Analog DBL 1Chan 1Samp).vi
Possible reason(s):
The specified resource is reserved. The operation could not be completed as specified.
Task Name: DC
0 项奖励
21 条消息(共 29 条)
5,651 次查看

The cause of the error should not be "将冲击采集放到整个循环的外面", because I've made a test, it's OK.

I don't know your virtual channel setting, so I can't make a test of your VI. Please recheck your channel setting and the state machine of your program. 

The framework of the VI which I enclose here is quite right, just do a little modification. I think it can fit your requirement.

---------------------------
Lady And Basketball Vividly In my Exciting World !!!
Daniel.Tang E-mail: tangye@friendess.com
0 项奖励
22 条消息(共 29 条)
5,642 次查看
I see why that error happened. Because your channel AI1 and AI2 are in the same board. When use task trigger, you should make sure which channel to use hardware trigger. If both of your AI channels use the same trigger signal, there could be some collision.
 
So make sure your channel AI1 don't use task trigger!!! This is very important.
 
 
---------------------------
Lady And Basketball Vividly In my Exciting World !!!
Daniel.Tang E-mail: tangye@friendess.com
0 项奖励
23 条消息(共 29 条)
5,640 次查看
我的AI1没有设成触发采集啊,是这样设置的
0 项奖励
24 条消息(共 29 条)
5,637 次查看

Hi farocean7979 ,

Today I will go back to my hometown. I'll give you a reply after national day, maybe 7days later.

---------------------------
Lady And Basketball Vividly In my Exciting World !!!
Daniel.Tang E-mail: tangye@friendess.com
0 项奖励
25 条消息(共 29 条)
5,632 次查看
哦,NO problem !  where is your town?
还有非常感谢你一直帮我的忙:womanwink::womantongue:
0 项奖励
26 条消息(共 29 条)
5,630 次查看

Jiangsu Changzhou which is famous for its China dinosaur park. You are welcome.

Happy National Day!!!

---------------------------
Lady And Basketball Vividly In my Exciting World !!!
Daniel.Tang E-mail: tangye@friendess.com
0 项奖励
27 条消息(共 29 条)
5,627 次查看
oh,好远啊!我在东北的沈阳。江苏可是个好地方啊!也祝你国庆节快乐!!眨眼表情
0 项奖励
28 条消息(共 29 条)
5,625 次查看
I  am back~~~~~~~The Return of the King极度高兴的表情极度高兴的表情
 
2 suggestion:
1. Acctually you don't need HW trigger, it will debase the performance of your program. Just use SW trigger is OK, I have made a test.I attach it here again.
 
2.If you do want HW trigger,use two DAQ-card, one card for channel AI1, the other for AI2.

帖子被篮球之鬼在10-07-2005 06:02 AM时编辑过了

---------------------------
Lady And Basketball Vividly In my Exciting World !!!
Daniel.Tang E-mail: tangye@friendess.com
0 项奖励
29 条消息(共 29 条)
5,596 次查看