From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Simultaneous input and output on a cDAQ & NI 9401

I'm relatively new to Labview and this is my first time dealing with DIO so please bear with me. I need to produce a PWM signal on one channel to control some motor drives and measure the frequency of pulses on 3 channels to determine RPM of the motors. I've gotten the PWM working but I'm having trouble with the inputs. I've set up a separate task for each input put when I run them in MAX with no signal input I get this error. (see below). Also the input signal will be at zero when the motors stop but It appears you can't have less than 1 for a minimum in the input range. How can I deal with that?

Thanks

 

DIO.PNG

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

I believe the following article will help you configure your device properly. 

 

Configuring the NI 9401 for Input/Output

http://digital.ni.com/public.nsf/allkb/4828F9A252F081758625731E007D85F9

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

Thanks LLaura,

Unfortunately that article deals mostly with compact RIO. They do reference using counters with a cDAQ chassis but pretty much just says you can do it.

0 Kudos
Message 3 of 4
(3,624 Views)

Hi,

Althought this thread has been not active now for a long time, I found what Llaura said but explained a bit more in depth:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6TtSAK

 

It worked for me. My configuration is a cDAQ-9174 + NI-9401.

 

Regards,

Javier

0 Kudos
Message 4 of 4
(2,824 Views)