Download User Manual

Transcript
HRM-TDC
USER MANUAL
> Appendix > High Level Dll Functions
2nd word
Free Running:
The second word is a free running 32-bit counter with an LSB of 5ns. The MICRO counter is a 23 bit counter with
an LSB value of 26.9851ps. This counter rolls over at a value of 0x50FFFF. By comparing the previous MACRO
time with the current MACRO time the number of roll overs, if any, of the MICRO counter can be determined.
This allows the time-tag values to be resolved indefinately.
For details of the MICRO counter and how this is achieved see article in appendix.
Resync:
The second word is a 40MHz (25ns LSB) counter synchronized to the 250KHz START clock. By comparing the
previous MACRO time with the current MACRO time the number of roll overs, if any, of the MICRO counter can
be determined. This allows the time-tag values to be resolved indefinately.
For details of the MICRO counter and how this is achieved see article in appendix.
Driver - HRM_StreamTimeTags2Mem
HRM_STATUS WINAPI HRM_StreamTimeTags2Mem(
HANDLE
handle,
BYTE*buf,
ULONGbufsize,
ULONGrecordinglength,
ULONGesr,
USHORT
microlsb,
ULONG*recordedbytes)
Stream FIFO date to memory buffer (FIFO Time-Tagging mode).
handle:
HRM-TDC module handle
buf:
Pointer to memory buffer
bufsize:
Memory buffer size in bytes. Recording stops if this is reached.
recordinglength:
Time in msec to stream data to buffer (while buffer not full)
esr:
Module ESR register value for defining channels and edge sensitivity
microlsb:
TCSPC resolution. 0=27ps, 1=54ps, 2=108ps etc.
recordedbytes:
Pointer to location for storing total number of bytes saved to buffer
HRM_STATUS returned equal to HRM_OK if success
Data format
See HRM_StreamTimeTags2File
SensL © 2011
51
51