LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cDAQ 9401: 2 x CO Pulse Freq?

Hello

I have got a very simple application that uses cDAQ 9172 and a 9401 module in slot 5. Labview 8.2+NiDaqmx 8.7.

The application uses two Counters out to generate PWM so there is no need to reserve the resources as for the bidirectionnal issue of the 9401 that is documented on the forum.

For certain reasons (to treat the PWM=0% and PWM=100% border values) I need to stop and restart one task or the other and sometimes recreate the task. I have tried every single possibility that I thought about and cannot get rid of this -201133 error.

Thanks so much for having a look at the (ugly) code attached.
Christophe

0 Kudos
Message 1 of 3
(2,581 Views)

Hello again,

I just would like to add that the problem disappears if I add a second 9401 module in slot 6 and define counter out #1 in the first 9401 module and counter out #2 in the second 9401 module.

What am I doing wrong in the case of both counters out sourced by the same 9401 module?
Thanks,
Christophe

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

Does anyone have an idea???

Thanks,
Christophe

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