46 #define TDC_QUTAG_CHANNELS 5
47 #define TDC_COINC_CHANNELS 31
48 #define TDC_MAX_CHANNEL_NO 20
62 FEATURE_LIFETIME = 0x0002,
63 FEATURE_3_CHAN = 0x0004,
64 FEATURE_4_CHAN = 0x0008,
65 FEATURE_5_CHAN = 0x0010,
66 FEATURE_MARKERS = 0x0020,
67 FEATURE_FILTERS = 0x0040,
68 FEATURE_EXTCLK = 0x0080,
69 FEATURE_DEVSYNC = 0x0100,
70 FEATURE_HIRES = 0x0200
423 double * threshold );
447 Bln32 * reconstruct );
759 const Uint8 * channels,
TDC_API int TDC_CC TDC_getTimestampBufferSize(Int32 *size)
Read back Timestamp Buffer Size.
TDC_API int TDC_CC TDC_setChannelLink(Bln32 on)
Enable channel link.
TDC_API int TDC_CC TDC_getChannelDelays(Int32 *delays)
Read back Channel Delay Times.
TDC_SimType
Type of generated timestamps.
TDC_API int TDC_CC TDC_getFiveChannelMode(Bln32 *on)
Retrieve five channel mode.
Time diffs and channel numbers uniformly distributed.
TDC_API int TDC_CC TDC_getClockState(Bln32 *locked, Bln32 *uplink)
Inquire Clock Sync State.
TDC_API int TDC_CC TDC_getChannelsEnabled(Int32 *channelMask)
Retrieve active channels.
#define TDC_CC
Calling convention.
TDC_API int TDC_CC TDC_setFiveChannelMode(Bln32 on)
Enable five channel mode.
TDC_API int TDC_CC TDC_deInit()
Disconnect and uninitialize.
TDC_API int TDC_CC TDC_generateTimestamps(TDC_SimType type, double *par, Int32 count)
Generate Timestamps.
TDC_API int TDC_CC TDC_freezeBuffers(Bln32 freeze)
Freeze internal Buffers.
Uncompressed binary without header (for compatiblity)
TDC_DevType
Type of the TDC device.
TDC_API int TDC_CC TDC_setTimestampBufferSize(Int32 size)
Set Timestamp Buffer Size.
TDC_API double TDC_CC TDC_getVersion()
Get Library Version.
TDC_API int TDC_CC TDC_preselectSingleStop(Bln32 single)
Preselect histogram mode.
TDC_API int TDC_CC TDC_getCoincCounters(Int32 *data, Int32 *updates)
Retrieve Coincidence Counters.
TDC_API int TDC_CC TDC_setDeadTime(Int32 channel, Int32 dTime)
Set Dead Time.
TDC_API int TDC_CC TDC_writeTimestamps(const char *filename, TDC_FileFormat format)
Write Timestamp Values to File.
__int64 Int64
64 bit integer for MSVC
TDC_API int TDC_CC TDC_getSyncDivider(Int32 *divider, Bln32 *reconstruct)
Read back Signal Conditioning Input Divider.
Compressed binary format (40B header, 5B/time tag)
TDC_API const char *TDC_CC TDC_perror(int rc)
Get Error Message.
TDC_FeatureFlag
Bitmasks for feature inquiry.
Other signal type: Conditioning on, everything optional.
TDC_API int TDC_CC TDC_startCalibration()
Internal Calibration.
TDC_FileFormat
Output file format.
TDC_SignalCond
Type of signal conditioning.
TDC_API int TDC_CC TDC_getDeviceParams(Int32 *coincWin, Int32 *expTime)
Read Back Device Parameters.
TDC_API Bln32 TDC_CC TDC_checkFeatureHbt()
Check for HBT feature.
TDC_API int TDC_CC TDC_setCoincidenceWindow(Int32 coincWin)
Set Coincidence Window.
TDC_API TDC_DevType TDC_CC TDC_getDevType()
Get type of connected device.
TDC_FilterType
Type of output filter.
TDC_API int TDC_CC TDC_configureSignalConditioning(Int32 channel, TDC_SignalCond conditioning, Bln32 edge, double threshold)
Configure Signal Conditioning.
Int32 TDC_FeatureFlags
A combination of feature Flags.
TDC_API int TDC_CC TDC_configureSyncDivider(Int32 divider, Bln32 reconstruct)
Configure Signal Conditioning Input Divider.
TDC_API Bln32 TDC_CC TDC_checkFeatureLifeTime()
Check for lifetime feature.
TDC_API int TDC_CC TDC_init(int deviceId)
Initialize and Start.
TDC_API int TDC_CC TDC_readTimestamps(const char *filename, TDC_FileFormat format)
Read Timestamps.
TDC_API int TDC_CC TDC_getFilter(Int32 channel, TDC_FilterType *type, Int32 *chMask)
Read back Output Filters.
Uncompressed binary format (40B header, 10B/time tag)
TDC_API int TDC_CC TDC_getLastTimestamps(Bln32 reset, Int64 *timestamps, Uint8 *channels, Int32 *valid)
Retrieve Last Timestamp Values.
TDC_API int TDC_CC TDC_configureSelftest(Int32 channelMask, Int32 period, Int32 burstSize, Int32 burstDist)
Configure Selftest.
__int32 Bln32
integer used as boolean
TDC_API int TDC_CC TDC_setChannelDelays(const Int32 *delays)
Set Channel Delay Times.
For LVTTL signals: Trigger at 2V rising edge, termination optional.
No device / simulated device.
TDC_API int TDC_CC TDC_inputTimestamps(const Int64 *timestamps, const Uint8 *channels, Int32 count)
Input Synthetic Timestamps.
__int32 Int32
32 bit integer for MSVC
TDC_API int TDC_CC TDC_enableMarkers(Int32 markerMask)
Enable Markers.
TDC_API TDC_FeatureFlags TDC_CC TDC_checkFeatures()
Check for device features.
TDC_API int TDC_CC TDC_getChannelLink(Bln32 *on)
Retrieve channel link.
For NIM signals: Trigger at -0.6V falling edge, termination fixed on.
TDC_API int TDC_CC TDC_getCalibrationState(Bln32 *active)
Inquire Calibration State.
#define TDC_API
External DLL interface.
unsigned __int8 Uint8
8-Bit unsigned int for MSVC
TDC_API int TDC_CC TDC_getTimebase(double *timebase)
Get Time Base.
TDC_API int TDC_CC TDC_enableChannels(Int32 channelMask)
Enable TDC Channels.
TDC_API int TDC_CC TDC_getSingleStopPreselection(Bln32 *single)
Preselection mode.
TDC_API int TDC_CC TDC_getChainPosition(Int32 *position, Int32 *length)
Retrieve Position in Chain.
TDC_API int TDC_CC TDC_getMarkersEnabled(Int32 *markerMask)
Retrieve active markers.
TDC_API int TDC_CC TDC_setExposureTime(Int32 expTime)
Set Exposure Time.
TDC_API int TDC_CC TDC_getSignalConditioning(Int32 channel, Bln32 *edge, double *threshold)
Read back Signal Conditioning Parameters.
Time diffs normally distributed, channels uniformly.
TDC_API int TDC_CC TDC_enableTdcInput(Bln32 enable)
Enable Physical Input.
Technical declarations for the DLL interface and basic type defs.
TDC_API int TDC_CC TDC_getDeadTime(Int32 channel, Int32 *dTime)
Read back Dead Time.
TDC_API int TDC_CC TDC_getDataLost(Bln32 *lost)
Check for data loss.
TDC_API int TDC_CC TDC_configureFilter(Int32 channel, TDC_FilterType type, Int32 chMask)
Configure Output Filters.