10-27-2013 01:59 PM
Hello,
I am running a stepper motor with a counter, CTR 0 out/PFI12, every rising edge the stepper motor will turn one step. I want to make an analog measurement every so many steps. So, every M cycles of the counter, make N measurements. I am having a very difficult time figuring out where to start and have tried a few approaches, but have not made any progress, any suggestions?
10-28-2013 02:34 AM - edited 10-28-2013 02:37 AM
Hi dwmoreau,
take a measurement for each rising edge, which is very easy when you use PFI12 as trigger for your analog measurement (see DAQmx example VIs). Then decimate the measurement values later on (DecimateSignal)...