@AgentFox12 wrote:
Hi,
I have a quetion about your AI.vi.Is your DAQ.Sampling an input cluster and which parameters did you use to prepare ?
Yes, the DAQ.Sampling cluster is passed as an input. For the sample rate, we use a maximum stimulus frequency of 5kHz, so I picked 10 times this number so the sine wave is somewhat well resolved, 50000. The lowest stimulus frequency is 2kHz, at a rate of 50kHz this is 50k/2k = 25 samples per cycle. I just picked a number that would let me see a "reasonable" number of cycles for my algorithm, in this case I used 1024 samples which gives me about 40 cycles worth of data for the lowest frequency.