TDCBase

tdcstartstop.h
Go to the documentation of this file.
1 /******************************************************************************
2 *
3 * Project: quTAG Control Library
4 *
5 * Filename: tdcstartstop.h
6 *
7 * Purpose: Start Stop Histograms
8 *
9 * Author: NHands GmbH & Co KG
10 */
11 /*****************************************************************************/
27 /*****************************************************************************/
28 /* $Id: tdcstartstop.h,v 1.4 2021/02/03 13:40:15 trurl Exp $ */
29
30 #ifndef __TDCSTARTSTOP_H
31 #define __TDCSTARTSTOP_H
32
33 #include "tdcdecl.h"
34
35
47 TDC_API int TDC_CC TDC_enableStartStop( Bln32 enable );
48
49
64 TDC_API int TDC_CC TDC_addHistogram( Int32 startCh,
65 Int32 stopCh,
66 Bln32 add );
67
68
80 TDC_API int TDC_CC TDC_setHistogramParams( Int32 binWidth,
81 Int32 binCount );
82
83
92 TDC_API int TDC_CC TDC_getHistogramParams( Int32 * binWidth,
93 Int32 * binCount );
94
95
102 TDC_API int TDC_CC TDC_clearAllHistograms();
103
104
140 TDC_API int TDC_CC TDC_getHistogram( Int32 chStart,
141 Int32 chStop,
142 Bln32 reset,
143 Int32 * data,
144 Int32 * count,
145 Int32 * tooSmall,
146 Int32 * tooLarge,
147 Int32 * starts,
148 Int32 * stops,
149 Int64 * expTime );
150
151 #endif
tdcdecl.h
Technical declarations for the DLL interface and basic type defs.
Bln32
__int32 Bln32
integer used as boolean
Definition: tdcdecl.h:57
Int32
__int32 Int32
32 bit integer for MSVC
Definition: tdcdecl.h:54
TDC_CC
#define TDC_CC
Calling convention
Definition: tdcdecl.h:34
Int64
__int64 Int64
64 bit integer for MSVC
Definition: tdcdecl.h:55
TDC_API
#define TDC_API
External DLL interface.
Definition: tdcdecl.h:38
TDC_getHistogram
TDC_API int TDC_CC TDC_getHistogram(Int32 chStart, Int32 chStop, Bln32 reset, Int32 *data, Int32 *count, Int32 *tooSmall, Int32 *tooLarge, Int32 *starts, Int32 *stops, Int64 *expTime)
Retrieve Start Stop Histogram.
TDC_setHistogramParams
TDC_API int TDC_CC TDC_setHistogramParams(Int32 binWidth, Int32 binCount)
Set Start Stop Histogram Parameters.
TDC_enableStartStop
TDC_API int TDC_CC TDC_enableStartStop(Bln32 enable)
Enable Start Stop Histograms.
TDC_addHistogram
TDC_API int TDC_CC TDC_addHistogram(Int32 startCh, Int32 stopCh, Bln32 add)
Add a histogram.
TDC_getHistogramParams
TDC_API int TDC_CC TDC_getHistogramParams(Int32 *binWidth, Int32 *binCount)
Read back Start Stop Histogram Parameters.
TDC_clearAllHistograms
TDC_API int TDC_CC TDC_clearAllHistograms()
Clear Start Stop Histograms.