Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -200371 while starting a task containing counter output channels on the same terminal id of different modules on a cDAQ chassis

Hi,

 

I have simulated a cDAQ-9178 chassis (cDAQ1) and 2 modules:

1) NI 9402 - cDAQ1Mod1

2) NI 9481 - cDAQ1Mod2

 

I created a task and add 2 channels to it:

1) ctr0 of cDAQ1Mod1 

2) ctr0 of cDAQ1Mod2

 

If I attempt to start the task, I see the following error message:

Error -200371 occurred at DAQ Assistant
Possible Reason(s):

Requested multiple virtual channels that correspond to the same physical channel within a task. A task cannot contain multiple physical channels of a specified type.

Use different physical channels for each virtual channel.

Channel Name: PulseOutput
Physical Channel: _ctr0
Channel Name: PulseOutput_0
Physical Channel: _ctr0

 

Is there a method you would recommend to generate a pulse train from 2 different cDAQ modules on the ctr0 channel of the individual modules? 

 

Thanks,

Varun Hariharan

MathWorks

0 Kudos
Message 1 of 3
(4,300 Views)

Have you tried creating two different tasks? If not, I think that would be our best option. Is there a reason you want to include them in the same task?

0 Kudos
Message 2 of 3
(4,272 Views)

Hi,

 

I would like to add them to the same task in order to have the channels start together. 

 

Thanks,

Varun Hariharan.

0 Kudos
Message 3 of 3
(3,792 Views)