Constants¶
-
NDIGO_CHANNEL_COUNT 4¶
The number of analog input channels.
-
NDIGO_GATE_COUNT 4¶
The number of gating blocks.
-
NDIGO_EXTENSION_COUNT 4¶
The number of external triggers.
-
NDIGO_FIFO_DEPTH 8176¶
ADC sample FIFO depth.
-
NDIGO_API_VERSION 0¶
Used for ndigo_init_parameters::version.
-
NDIGO_STATIC_INFO_VERSION 1¶
Current version of ndigo_static_info.
-
NDIGO_FAST_INFO_VERSION 1¶
Current version of ndigo_fast_info.
-
NDIGO_TRIGGER_COUNT 16¶
The number of triggers.
Two per analog input, one per digital input plus some specials.
-
NDIGO_ADD_TRIGGER_COUNT 6¶
Additional set of triggers for digital inputs.
-
NDIGO_RAW_VALUE_MIN 0¶
Minimal raw ADC value.
RAW mode should not be used.
-
NDIGO_RAW_VALUE_ZERO 512¶
Raw ADC value corresponding to zero.
RAW mode should not be used.
-
NDIGO_RAW_VALUE_MAX 1023¶
Maximal raw ADC value.
RAW mode should not be used.
-
NDIGO_RAW_VALUE_COUNT 1024¶
Number of raw ADC values.
RAW mode should not be used.
-
NDIGO_CALIBRATION_DATE_LEN 20¶
Fixed length of calibration date string.
Calibration date format is YYYY-MM-DD hh:mm.
Used by ndigo_static_info::calibration_date.
-
NDIGO_BITSTREAM_DATE_LEN 20¶
Bitstream date format is YYYY-MM-DD hh:mm:ss.
Used by ndigo_static_info::bitstream_date.
- group Return codes
Defines representing error codes used by various API functions.
Defines
-
NDIGO_OK 0¶
-
NDIGO_WINDRIVER_NOT_FOUND 1¶
-
NDIGO_DEVICE_NOT_FOUND 2¶
-
NDIGO_NOT_INITIALIZED 3¶
-
NDIGO_WRONG_STATE 4¶
-
NDIGO_INVALID_DEVICE 5¶
-
NDIGO_BUFFER_ALLOC_FAILED 6¶
-
NDIGO_TDC_NO_EDGE_FOUND 7¶
-
NDIGO_INVALID_BUFFER_PARAMETERS 8¶
-
NDIGO_INVALID_CONFIG_PARAMETERS 9¶
-
NDIGO_WINDOW_CALIBRATION_FAILED 10¶
-
NDIGO_HARDWARE_FAILURE 11¶
-
NDIGO_INVALID_ADC_MODE 12¶
-
NDIGO_SYNCHRONIZATION_FAILED 13¶
-
NDIGO_DEVICE_OPEN_FAILED 14¶
-
NDIGO_INTERNAL_ERROR 15¶
-
NDIGO_INVALID_ARGUMENTS 17¶
-
NDIGO_OK 0¶
- group Correctable PCIe errors
PCIe correctable error flags.
Only relevant when troubleshooting.
- group Uncorrectable PCIe errors
PCIe uncorrectable error flags.
Only relevant when troubleshooting.
Defines
-
CRONO_PCIE_UNC_UNDEFINED 1 << 0¶
-
CRONO_PCIE_UNC_DATA_LINK_PROTOCOL_ERROR 1 << 4¶
-
CRONO_PCIE_UNC_SURPRISE_DOWN_ERROR 1 << 5¶
-
CRONO_PCIE_UNC_POISONED_TLP 1 << 12¶
-
CRONO_PCIE_UNC_FLOW_CONTROL_PROTOCOL_ERROR 1 << 13¶
-
CRONO_PCIE_UNC_COMPLETION_TIMEOUT 1 << 14¶
-
CRONO_PCIE_UNC_COMPLETER_ABORT 1 << 15¶
-
CRONO_PCIE_UNC_UNEXPECTED_COMPLETION 1 << 16¶
-
CRONO_PCIE_UNC_RECEIVER_OVERFLOW_ERROR 1 << 17¶
-
CRONO_PCIE_UNC_MALFORMED_TLP 1 << 18¶
-
CRONO_PCIE_UNC_ECRC_ERROR 1 << 19¶
-
CRONO_PCIE_UNC_UNSUPPORED_REQUEST_ERROR 1 << 20¶
-
CRONO_PCIE_UNC_UNDEFINED 1 << 0¶
-
CRONO_DEVICE_NDIGO5G¶
-
ndigo_bool_t unsigned char¶
Universally used boolean.