Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

9401 PWM, DI and DO

Solved!
Go to solution

I have a 9401 module on a 9188 chassis.  What I want to do is have 3 DI,1 DO and 1 PWM.

 

I thought I could put the 3 DI on channels 0,1,2.  One digital out channel on 6 and a PWM using channel 7 (counter 1).  That way they would be grouped with the 1st 4 channels as input and the last 4 as output per the manual.

 

The problem is that I get a 201133 error that says the device cannot be configured for input or output because of another task or route when I try to run everything in the same vi.  I can do the DI and DO tasks with no problem OR the PWM task with no problem.  I tried to reserve the tasks with the DAQmx Control Task VI like the error suggested, but no luck.

 

Is it possible to do all this on the 9401 at the same time?

 

Bryan

0 Kudos
Message 1 of 3
(3,964 Views)
Solution
Accepted by _Bryan

You'll only be able to use 1 DI, 1 DO, and up to 4 counter tasks that are hardware timed simultaneously when using a 9188: http://digital.ni.com/public.nsf/allkb/5E0B829E50ADE1BC86257AC50062B2D2?OpenDocument

In addition, you'll have to make sure that you reserve tasks to avoid the 201133 error with the 9401: http://digital.ni.com/public.nsf/allkb/0495B7D5E2345DF386257730007EFD17

 

-Mike

0 Kudos
Message 2 of 3
(3,938 Views)

Thanks Mike.

 

The 2nd link did the trick.  I guess I was not able to find that yesterday and I did not put the start task VI after the control task VI.

 

Bryan

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