From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Measure Buffer Period example does not retur time

Measure Buffer Period (DAQ-STC) example returns a buffer of integers. How do I convert it to time?
0 Kudos
Message 1 of 2
(2,821 Views)
The integers represent ticks of the clock used by the counter and will be dependent on the specific parameters and hardware used. The two default clocks on most boards are 100 kHz and 20 MHz. So in the case of the 20 MHz clock, divide the integers by 20e6 and this will give you the time in seconds.

Christian L
NI Consulting Services
authored by
Christian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX


  
0 Kudos
Message 2 of 2
(2,821 Views)