12-13-2012 12:51 PM
Hi,
I get these values when i measure at 40 MHz external timebase source for a two edge separation of 10 ms. I get the correct values when i measure at 10MHz? Is there any factor i need to multiple the count? in order to get the correct value?
Count milli seconds
199999000.00000000000000000000 | 4.99997500000000000000 |
199999000.00000000000000000000 | 4.99997500000000000000 |
199999000.00000000000000000000 | 4.99997500000000000000 |
199999000.00000000000000000000 | 4.99997500000000000000 |
199999000.00000000000000000000 | 4.99997500000000000000 |
Thanks
12-17-2012 03:54 PM
Hello GPS_user,
Let’s try to take out variables from the equation. Can you try the Meas2EdgeSeparation to read the pulses along with the GenDigPulse to generate a single pulse? For the Meas2EdgeSeparation, set the first and second terminal to be the same PFI line, the first terminal should be rising and the second one falling. Read from the Internal counter (see my post # 5) that you are going to generate a pulse . For the GenDigPulseTrain, set the Frequency to 500 and the Duty Cycle to 0.5. This will get you a 10 ms pulse width that you can read from.
For now, let’s try with just one signal and not specifying what our external timebase is in order to find where the root problem is.