AlazarQueryCapability#
Function Syntax#
-
RETURN_CODE AlazarQueryCapability(HANDLE handle, U32 capability, U32 reserved, U32 *retValue)#
Get a device attribute as an unsigned 32-bit integer.
- Parameters:
handle – [in] Board handle
capability – [in] The board capability to query. Must be a member of ALAZAR_CAPABILITIES.
reserved – [in] Pass 0
retValue – [out] Capability value
- Returns:
ApiSuccess upon success, or an error code. See RETURN_CODE for more detailed information.
LabVIEW Block Diagram#
Related Enumerations#
-
enum ALAZAR_CAPABILITIES#
Capabilities that can be queried through AlazarQueryCapability()
Values:
-
enumerator GET_SERIAL_NUMBER#
Board’s serial number.
-
enumerator GET_FIRST_CAL_DATE#
First calibration date.
-
enumerator GET_LATEST_CAL_DATE#
Latest calibration date.
-
enumerator GET_LATEST_TEST_DATE#
Latest test date.
-
enumerator GET_LATEST_CAL_DATE_MONTH#
Month of latest calibration.
-
enumerator GET_LATEST_CAL_DATE_DAY#
Day of latest calibration.
-
enumerator GET_LATEST_CAL_DATE_YEAR#
Year of latest calibration.
-
enumerator GET_BOARD_OPTIONS_LOW#
Low part of the board options.
-
enumerator GET_BOARD_OPTIONS_HIGH#
High part of the board options.
-
enumerator MEMORY_SIZE#
The memory size in samples.
-
enumerator ASOPC_TYPE#
The FPGA signature.
-
enumerator BOARD_TYPE#
The board type as a member of ALAZAR_BOARDTYPES.
-
enumerator GET_PCIE_LINK_SPEED#
PCIe link generation.
-
enumerator GET_PCIE_LINK_WIDTH#
PCIe link width in lanes.
-
enumerator GET_MAX_PRETRIGGER_SAMPLES#
Maximum number of pre-trigger samples.
-
enumerator GET_CPF_DEVICE#
User-programmable FPGA device. 1 = SL50, 2 = SE260.
-
enumerator HAS_RECORD_FOOTERS_SUPPORT#
Queries if the board supports NPT record footers. Returns 1 if the feature is supported and 0 otherwise
-
enumerator CAP_SUPPORTS_TRADITIONAL_AUTODMA#
Queries if the board supports the AutoDMA Traditional acquisition mode. Returns 1 if the feature is supported and 0 otherwise.
-
enumerator CAP_SUPPORTS_NPT_AUTODMA#
Queries if the board supports the AutoDMA NPT accquisition mode. Returns 1 if the feature is supported and 0 otherwise.
-
enumerator CAP_MAX_NPT_PRETRIGGER_SAMPLES#
Queries the maximum number of pre-trigger samples that can be requested in the AutoDMA NPT acquisition mode. This amount is shared between all the channels of the board.
-
enumerator CAP_IS_VFIFO_BOARD#
Tests if this board of the virtual-FIFO type.
-
enumerator CAP_SUPPORTS_NATIVE_SINGLE_PORT#
Tests if this board features native support for single-port acquisitions. Returns 1 if native support is present, and 0 otherwise.
-
enumerator CAP_SUPPORT_8_BIT_PACKING#
Tests if this board supports 8-bit data packing. Returns 1 if this board has a native resolution of more than 8 bits and supports 8-bit packing.
-
enumerator CAP_SUPPORT_12_BIT_PACKING#
Tests if this board supports 12-bit data packing. Returns 1 if support is present, and 0 otherwise.
-
enumerator HAS_PARALLEL_DMA_SUPPORT#
Queries if the board supports parallel dma. Returns 1 if the feature is supported, and 0 otherwise.
-
enumerator HAS_SEQUENTIAL_DMA_SUPPORT#
Queries if the board supports sequential dma. Returns 1 if the feature is supported, and 0 otherwise.
-
enumerator HAS_RECORD_HEADERS_SUPPORT#
Tests if this board supports record headers. Returns 1 if support is present, and 0 otherwise.
-
enumerator CAP_SUPPORT_TRADITIONAL_SAMPLES_INTERLEAVED#
Tests if this board supports samples interleaved in traditional mode. Returns 1 if support is present, and 0 otherwise.
-
enumerator CAP_SUPPORT_SOFTWARE_CAL#
Tests if this board supports software calibration. Returns 1 if support is present, and 0 otherwise.
-
enumerator CAP_SUPPORTS_API_LOG_CLEAR#
Tests if this board supports API log clear. Returns 1 if support is present, and 0 otherwise.
-
enumerator CAP_SUPPORTS_TRIGGER_SKIPPING#
Tests if this board supports trigger skipping. Returns 1 if support is present, and 0 otherwise.
-
enumerator GET_SERIAL_NUMBER#
-
enum ALAZAR_BOARD_OPTIONS_LOW#
AlazarTech board options. Lower 32-bits.
Values:
-
enumerator OPTION_STREAMING_DMA#
-
enumerator OPTION_EXTERNAL_CLOCK#
-
enumerator OPTION_DUAL_PORT_MEMORY#
-
enumerator OPTION_180MHZ_OSCILLATOR#
-
enumerator OPTION_LVTTL_EXT_CLOCK#
-
enumerator OPTION_SW_SPI#
-
enumerator OPTION_ALT_INPUT_RANGES#
-
enumerator OPTION_VARIABLE_RATE_10MHZ_PLL#
-
enumerator OPTION_MULTI_FREQ_VCO#
-
enumerator OPTION_2GHZ_ADC#
-
enumerator OPTION_DUAL_EDGE_SAMPLING#
-
enumerator OPTION_DCLK_PHASE#
-
enumerator OPTION_WIDEBAND#
-
enumerator OPTION_LOW_CROSSTALK#
-
enumerator OPTION_ON_FPGA_FFT#
-
enumerator OPTION_USER_CALIBRATION#
-
enumerator OPTION_STREAMING_DMA#