I use an old NI USB 6009 Altera DEO.
The sample rate is 48kHz.
To make me understand on the issue, here a little explanation:
- a motor moves and then the signal on a photodiode is changing.
I digitalyze the signal of my photodiode through the NI USB 6009 at a frequence rate of 48 kHz with N samples in order to re-create the analogique signal in LabView.
Then I measure the RMS, and others, value.
I write the values into a spreadsheet in order to plot the curve : variation of the signal of my photodiode function of time (and since I know the velocity of my motor, intensity of photiode function of position of the step motor).
Maybe there is another way to do this, but until now, i thought about what you can see in the code.
Thanks.