取消
顯示結果 
搜尋替代 
您的意思是: 

Error: the specified resource is reserved.

已解決!
前往解決方案

Hi all,

 

I have composed a program that is going to read 4 analog input voltages, however, I get error as shown in the picture.  Basically, Dev1/ai0 thru Dev1/ai3 will be used to get data from. But everytime I run this program, one of the DAQmx reads will light up and the error message will pop up and I am in trouble.

 

Is there any way I can fix this problem, so that I can read all 4 AIs at the same time?

 

Thanks a lot in advance.

 

 

 

Pui 

0 積分
1 條訊息(共 3 條)
5,240 檢視
解決方案
由主題作者所接受 Subaru

I guess you did not try to search for this error. It's been asked numerous times.

 

The answer is simple - don't use 4 separate tasks. Use a single task with multiple channels.

2 條訊息(共 3 條)
5,236 檢視
Thank you very much. I think I found the solution!
0 積分
3 條訊息(共 3 條)
5,191 檢視