08-08-2013 09:18 PM - edited 08-08-2013 09:26 PM
I'm currently using a PCI 6225 Card. I intend to create multiple tasks running concurrently.
One task will log data in TDMS file and read a set of analog inputs continuously and
another task will only read continuously without logging.
To familiarize myself with the DAQmx card,
I ran the example VI "Analog Input - Synchronization .vi" in the DAQmx folder.
I set the Synchronization Type to "M Series(PCI)"
set the Master Resource to Device1/ai0 and
set the Slave Resource to Device1/ai1 and then ran the VI but received the following error:
ERROR -50103 occurred at DAQmx Start Task.vi:5
Possible reason(s):
NI Platform Service: The specified resource is reserved.
Please help me resolve this error. Thanks.
08-09-2013 02:20 PM
That example is multi device synch, you need multi function
Have a look at this
http://www.ni.com/white-paper/3615/en/#toc4
08-09-2013 04:43 PM
Thanks Wan. I'll try this example.
08-12-2013 08:09 PM - edited 08-12-2013 08:25 PM
Hi Wan L,
This is a Multi-function Synchronization for AI and AO example and it only works if the two functions being performed are not the same, like say when the first function is a "AI Voltage" and the other is "AO Voltage".
It won't work if the two functions are both "AI Voltages" which is what I want to accomplish.
I need to Log & Read a group of "AI Voltages" continuously and
I need to Read only (no log) the 2nd group of "AI Voltages" continuously.
Please advice.
Thanks.
08-13-2013 08:11 PM
Try modifying that example a bit. Use a single daqmx read VI but selected Multiple Channel mode in the polymorphic selector
08-13-2013 08:21 PM
Actually, I just realized that might have been a little vague. The idea is that you use one daqmx read VI in Nchan mode to read from multiple channel. This other KB might be a bit more helpful:
http://digital.ni.com/public.nsf/allkb/0C1ADEF06A54AB2D862575040066FD51