06-17-2025 07:10 AM
I am doing an random non-uniform signal acquisition and i need timestamp for when every rising edge occurs ? Any idea how to do that I am using PCI-e-661
06-18-2025 06:55 AM
There are two ways:
06-18-2025 06:36 PM - edited 06-18-2025 06:37 PM
A third way:
3. Use "Implicit Timing" to do a buffered period measurement task, sensitive to rising edges. On your device, the first rising edge will represent relative time=0. The first period measurement happens at the second rising edge.
For N rising edges, you will capture N-1 periods. Your relative timestamps for those periods are just a cumulative sum of all the periods. And you also know that by definition of how the hardware works, the first rising edge occurred at relative time = 0.
If you want a full time-of-day timestamp, the best you can do is query the time-of-day immediately after the first period measurement. Then subtract off the first period to establish the absolute time at the first rising edge. Here's an incomplete illustration of what I mean using a Finite acquisition for simplicity:
- Kevin P