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#
0x10000024UL
Board’s serial number
-
enumerator GET_FIRST_CAL_DATE#
0x10000025UL
First calibration date
-
enumerator GET_LATEST_CAL_DATE#
0x10000026UL
Latest calibration date
-
enumerator GET_LATEST_TEST_DATE#
0x10000027UL
Latest test date
-
enumerator GET_LATEST_CAL_DATE_MONTH#
0x1000002DUL
Month of latest calibration
-
enumerator GET_LATEST_CAL_DATE_DAY#
0x1000002EUL
Day of latest calibration
-
enumerator GET_LATEST_CAL_DATE_YEAR#
0x1000002FUL
Year of latest calibration
-
enumerator GET_BOARD_OPTIONS_LOW#
0x10000037UL
Low part of the board options
-
enumerator GET_BOARD_OPTIONS_HIGH#
0x10000038UL
High part of the board options
-
enumerator MEMORY_SIZE#
0x1000002AUL
The memory size in samples
-
enumerator ASOPC_TYPE#
0x1000002CUL
The FPGA signature
-
enumerator BOARD_TYPE#
0x1000002BUL
The board type as a member of ALAZAR_BOARDTYPES
-
enumerator GET_PCIE_LINK_SPEED#
0x10000030UL
PCIe link generation
-
enumerator GET_PCIE_LINK_WIDTH#
0x10000031UL
PCIe link width in lanes
-
enumerator GET_MAX_PRETRIGGER_SAMPLES#
0x10000046UL
Maximum number of pre-trigger samples.
-
enumerator GET_CPF_DEVICE#
0x10000071UL
User-programmable FPGA device. 1 = SL50, 2 = SE260
-
enumerator HAS_RECORD_FOOTERS_SUPPORT#
0x10000073UL
Queries if the board supports NPT record footers. Returns 1 if the feature is supported and 0 otherwise
-
enumerator CAP_SUPPORTS_TRADITIONAL_AUTODMA#
0x10000074UL
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#
0x10000075UL
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#
0x10000076UL
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#
0x10000077UL
Tests if this board of the virtual-FIFO type.
-
enumerator CAP_SUPPORTS_NATIVE_SINGLE_PORT#
0x10000078UL
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#
0x10000079UL
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#
0x10000080UL
Tests if this board supports 12-bit data packing. Returns 1 if support is present, and 0 otherwise.
-
enumerator HAS_PARALLEL_DMA_SUPPORT#
0x10000072UL
Queries if the board supports parallel dma. Returns 1 if the feature is supported, and 0 otherwise.
-
enumerator HAS_SEQUENTIAL_DMA_SUPPORT#
0x10000086UL
Queries if the board supports sequential dma. Returns 1 if the feature is supported, and 0 otherwise.
-
enumerator HAS_RECORD_HEADERS_SUPPORT#
0x10000081UL
Tests if this board supports record headers. Returns 1 if support is present, and 0 otherwise.
-
enumerator CAP_SUPPORT_TRADITIONAL_SAMPLES_INTERLEAVED#
0x10000082UL
Tests if this board supports samples interleaved in traditional mode. Returns 1 if support is present, and 0 otherwise.
-
enumerator CAP_SUPPORT_SOFTWARE_CAL#
0x10000083UL
Tests if this board supports software calibration. Returns 1 if support is present, and 0 otherwise.
-
enumerator CAP_SUPPORTS_API_LOG_CLEAR#
0x10000084UL
Tests if this board supports API log clear. Returns 1 if support is present, and 0 otherwise.
-
enumerator CAP_SUPPORTS_TRIGGER_SKIPPING#
0x10000085UL
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#
1UL << 0
-
enumerator OPTION_EXTERNAL_CLOCK#
1UL << 1
-
enumerator OPTION_DUAL_PORT_MEMORY#
1UL << 2
-
enumerator OPTION_180MHZ_OSCILLATOR#
1UL << 3
-
enumerator OPTION_LVTTL_EXT_CLOCK#
1UL << 4
-
enumerator OPTION_SW_SPI#
1UL << 5
-
enumerator OPTION_ALT_INPUT_RANGES#
1UL << 6
-
enumerator OPTION_VARIABLE_RATE_10MHZ_PLL#
1UL << 7
-
enumerator OPTION_MULTI_FREQ_VCO#
1UL << 7
-
enumerator OPTION_2GHZ_ADC#
1UL << 8
-
enumerator OPTION_DUAL_EDGE_SAMPLING#
1UL << 9
-
enumerator OPTION_DCLK_PHASE#
1UL << 10
-
enumerator OPTION_WIDEBAND#
1UL << 11
-
enumerator OPTION_LOW_CROSSTALK#
1UL << 12
-
enumerator OPTION_ON_FPGA_FFT#
1UL << 13
-
enumerator OPTION_ANALOG_INPUT#
1UL << 14
-
enumerator OPTION_USER_CALIBRATION#
1UL << 15
-
enumerator OPTION_DAC_OUTPUT#
1UL << 16
-
enumerator OPTION_STREAMING_DMA#