![qutools quTAU Скачать руководство пользователя страница 24](http://html1.mh-extra.com/html/qutools/qutau/qutau_manual_3793622024.webp)
9
(COINCIDENCE) COUNTING
9.3.3
Command Line Interface
The parameters
-x
<
exposure time in ms
>
and
-W
<
coincidence window in Bins
>
can be used to set exposure time and coincidence window. The last counter values are
retrieved by the option
-C
.
9.4
DLL Usage
Table 6:
Examples: (Coincidence) Counting
LabView Example
/userlib/labviewXX/examples/countrate plot.vi
C Example
-
Once initialized, the single and coincidence rates can be retrieved from the device using
TDC getCoincCounters
at any time. A minimal LabVIEW
TM
example (see Figure
) is
available as
countrate plot.vi
. When polled periodically, the second argument
update
indicates the number of data updates since the last poll. The timebase for all rates is set by
TDC setExposureTime
and the coincidence time window by
TDC setCoincidenceWindow
.
Figure 15:
Block diagram for a program to retrieve and display Single and Coincidence
Rates,
see example
countrate plot.vi
Functions relevant to Single and Coincidence Rates:
tdcbase.h:
double
TDC getTimebase
()
int
TDC setCoincidenceWindow
(Int32 coincWin)
int
TDC setExposureTime
(Int32 expTime)
int
TDC getDeviceParams
(Int32
∗
channelMask, Int32
∗
coincWin, Int32
∗
expTime)
int
TDC getDataLost
(Bln32
∗
lost)
int
TDC getCoincCounters
(Int32
∗
data, Int32
∗
updates)
quTAU/quPSI Manual V4.0 Page 24