Veto function. Only timestamps prior to ‘stop’ are recorded.
3.5 Run Time Control
int
xtdc4 continue capture(
xtdc4 device
*device)
Call this to resume data acquisition after a call to
xtdc4 pause capture()
.
int
xtdc4 pause capture(
xtdc4 device
*device)
Pause data acquisition.
int
xtdc4 start capture(
xtdc4 device
*device)
Start data acquisition.
int
xtdc4 start tiger(
xtdc4 device
*device)
Start timing generator.
int
xtdc4 stop capture(
xtdc4 device
*device)
Stop data acquisition.
int
xtdc4 stop tiger(
xtdc4 device
*device)
Stop timing generator.
3.6 Readout
int
xtdc4 acknowledge(
xtdc4 device
*device,
crono packet
*packet)
Acknowledges the processing of the last read block. This is only necessary if
xtdc4 read()
is not
called.
This feature allows to either free up partial DMA space early if there will be no call to
xtdc4 read
anytime soon. It also allows to keep data over multiple calls to
xtdc4 read
to avoid unnecessary
copying of data.
int
xtdc4 get device type
Returns the type of the device. Either
CRONO DEVICE XTDC45G
or
CRONO DEVICE XTDC4250M
const char*
xtdc4 get last error message(
xtdc4 device
*device)
Returns most recent error message.
int
xtdc4 read(
xtdc4 device
*device,
xtdc4 read in
*in,
xtdc4 read out
*out)
Return a pointer to an array of captured data in
read out
. The result can contain any number
of packets of type
xtdc4 packet
.
read in
provides parameters to the driver. A call to this method
automatically allows the driver to reuse the memory returned in the previous call.
Returns an error code as defined in the structure
xtdc4 read out
.
3.6.1 Input Structure xtdc4 read in
xtdc4 bool t
acknowledge last read
If set
xtdc4 read()
automatically acknowledges packets from the last read.
cronologic GmbH & Co. KG
17
xTDC4 User Guide
Содержание xTDC4
Страница 2: ......
Страница 3: ......
Страница 7: ......
Страница 12: ...Figure 2 6 The xTDC4 Carry Chain TDC calibration tool cronologic GmbH Co KG 7 xTDC4 User Guide...
Страница 13: ...cronologic GmbH Co KG 8 xTDC4 User Guide...
Страница 25: ...cronologic GmbH Co KG 20 xTDC4 User Guide...