Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

Generate a 100 kHz pulse train triggered by the GPS PPS with the NI-6614 card

$
0
0

Dear Labview-Experts, 

I am currently struggling with generating a PPS-triggered reference clock for synchronizing different processes in a wind lidar system that I am currently developing.

Principally, my goal is trivial, but I could unfortunately find no possibility to reach it. 

For the PXIe chassis, I use the 10 MHz ref_clk of the OCXO on-board the NI-6614. Now, I want to use a counter to generate a 100 kHz pulse train triggered by the PPS signal a GPS module (Septentrio PolarRx2e).

The code I am currently using looks as follows:

Witschas82_0-1729689703025.png

The frequency of the pulse train is set to 100 kHz.

When I now set the number of finite pulses to be also 100 kHz, I run into a problem that I cannot solve. As the pulse train is not finshed (by a few ns) until the next PPS signal apears, it is not re-triggering the pulse train. 

When I set the number of pulses to be 99999, it is working as it should (blue line = PPS, white line = pulse train):

Witschas82_1-1729689903296.png

However, in this case, I am missing 1/100000 counts, which I want to avoid.

 

Do I have a logic-error in my thinking? Is there any easy work-arround for my problem?

 

I am happy for any suggestion that I can try and appreciate any reply. 

 

Thanks a lot in advance and best regards,

Benjamin


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>