I am reading a 1 kHz pwm signal using a Labjack U6 and the labview "U6 PWM16 and Duty Cycle.vi" example. I would like to calculate the impact of the accuracy of the measure on my final data. I was simply going to calculate the time between to samples : 1/48000000 since, as far as I know, the clock frequency is 48 MHz. But when looking at the program 48000000 is first divided by 18. Could you tell me why so that I understand the reason for this?
Could you also confirm that the default settings in the Vi are the best ones to make the most accurate measure of a 1 kHz pwm signal using the Labjack U6? There is no other way to make a more accurate measure (for my futur projects) ?
By the way, I would like to avoid spending time sending a PWM signal output on pin FIOO as in the example's program. I am not quite sure how to do this? I have tried deleating several things but then the PWM measurement doens't work anymore.
Thank you very much for your help,