ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

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

Does multiple instances of DAQmx start task result in error?

I am trying to read voltages from pressure transducers and LVDTs in two separate While Loops. But when running the program there is an error regarding DAQmx Start Task.vi. So I was wondering if multiple instances of DAQmx Start task results in error. I have attached the vi.

 

Thanks

0 项奖励
1 条消息(共 3 条)
2,884 次查看

Yes, it does cause an error and if you had searched the forum for the error code you got, you would have found numerous posts on the subject and the solution. Briefly, define a single task with multiple channels. You need to do this for both the write and read tasks.

 

 

0 项奖励
2 条消息(共 3 条)
2,878 次查看

Thank you for the reply. New to Labview so I didn't know that we had to search using the error code, I tried searching using text though. Will do that from the next time, thanks.

 

I do not have the problem with the write tasks but only with the read tasks. Right now I have one start task for all the input from the pressure transducers and LVDTs and three start tasks for the three analogue outputs and the program seems to run fine.

0 项奖励
3 条消息(共 3 条)
2,846 次查看