Hi CUA,
Since you have already the right tools, you just need to get started with the software. The NI-9401 will give you access to the counters that are inside the cDAQ chassis 9172.
You need to place the module in slots 5 or 6. You can read in how they work and how to configure them in the counters section of the user guide
found here.
Now to measure rpm, you can either measure the period of the signal (seconds) and multiply by 60 to have minutes and the number of ticks per revolution. You can find a shipped example to read period called “Meas Dig Freq-Buffered-Cont-Large Range 2 Ctr.vi” found under
Hardware Input and Output » DAQmx » Counter MesurementsTo measure PWM, it is similar procedure and you can read the semiperiod (high time or low time). There is also a shipped example called “Meas Semi-Period.vi” found under the same location.
There is great information for these kind of task at
this page or just post back if you need to.
Hope this helps.
Gerardo O.
RF SW Engineering R&D
National Instruments