Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -50103 with DAQmx PCI 6225

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.

 

 

0 Kudos
Message 1 of 6
(3,333 Views)

That example is multi device synch, you need multi function

Have a look at this

http://www.ni.com/white-paper/3615/en/#toc4

Wan L
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 2 of 6
(3,305 Views)

Thanks Wan. I'll try this example.

0 Kudos
Message 3 of 6
(3,299 Views)

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.

0 Kudos
Message 4 of 6
(3,271 Views)

Try modifying that example a bit. Use a single daqmx read VI but selected Multiple Channel mode in the polymorphic selector

Wan L
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 5 of 6
(3,229 Views)

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


Wan L
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 6 of 6
(3,226 Views)