02-27-2019 03:06 AM
Hi,
Device: NI cDAQ-9191.
Im trying to sycnhronize analog input signals (15 in total) on the NI cDAQ-9191.
I was following this tutorial http://www.ni.com/tutorial/5376/en/ .
Im now making a first try at synchronization by following the start trigger synchronization.
When I run the vi I am getting :
--Error -50103 occurred at DAQmx Start Task.vi The specified resource is reserved. The operation could not be completed as specified.
Here is my vi
Can someone tell me why im getting this error?
Do I even need to synchronize Analog Input with another Analog input?
Thanks!
Solved! Go to Solution.
02-27-2019 03:12 AM - edited 02-27-2019 03:13 AM
02-27-2019 03:44 AM
Hi GerdW,
Thanks for the quick reply!
I did what you suggested and added both of the channels to the same task:
Now it seems to work! Kudos for that!
Do you think this is scalable for 15 Analog Inputs?
Should I just define all the Analog inputs into the same task?
Also how do I know which Waveform chart is showing which channels data?
Thanks again!
02-27-2019 03:56 AM
Hi Roberto,
Do you think this is scalable for 15 Analog Inputs?
Yes. I use DAQmx tasks with 128 channels…
Should I just define all the Analog inputs into the same task?
Yes. As long as DAQmx supports it, which may depend on the used modules…
Also how do I know which Waveform chart is showing which channels data?
The channel order in the DAQmx task defines the order in the data output…
You defined "ai2, ai4", so you get ai2-data in the first waveform and ai4-data in the second plot.
02-27-2019 04:03 AM
Hi GerdW,
Thanks again for an amazingly fast response!
You cleared all my doubts amazing thank you very much!
Best regards
Roberto