03-24-2017 12:42 PM
I'm getting error -200371 when creating a channel using two physical channels from two 9401 modules. I know I can create a channel with two physical channels when they are on the same 9401 module. Can anyone help?
Error -200371
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.
03-25-2017 09:52 PM
I'm not sure what you mean by "two 9401 Modules". Can you explain? Is "9401" the complete name? Are these two different physical devices (like two USB 6009's, or two PXIe-4300 modules, or two AI channels in a PXI3-4300? Explain what you mean by "two physical channels". Do you mean two channels (of whatever kind of signal)? [Since I don't know what a "9401" is, I don't know if this is Analog Input, Analog Output, Digital Input, Digital Output, or Something Else].
The Error Message is correct. A "Physical Channel" means a specific channel on a specific piece of equipment. When you are specifying specific settings for two input or output "channels", they have to be different -- it doesn't make sense to say "I'm going to sample Channel 1 at 10 Hz and Channel 1 at 20 Hz".
Bob Schor
03-26-2017 08:48 AM
NI-9401 is a compact DAQ Digital I/O module. Your problem is not very well defined, we can't see the actual channels settings. From the picture it seems your are using the modules as counters outputs. The actual counters are located in the compact DAQ chassis, what chassis are you using? If you set both modules to use the same chassis counter you will get this error when trying t start the task (e.g. if they both use counter 0).
Ben64
03-27-2017 09:32 AM
I'm using a cDAQ9178 chassis. The error might be due to a task limit for the chassis as described in the link below.
http://digital.ni.com/public.nsf/allkb/5E0B829E50ADE1BC86257AC50062B2D2
Ideally, I would like to have 6 PWM counter output channels on a single task so I can avoid this issue. Is there anyway to achieve this or do I have to use 2 chassis with a module in each and a task for each channel?
04-07-2017 09:50 AM
The cDAQ9178 has 4 counters, where is where you are taking those counters from?
http://www.ni.com/pdf/manuals/374046a.pdf
Could you please attach a picture of the front panel or the channels that you are wiring to the Counter task?