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¶
- 0x10000024ULBoard’s serial number
 - 
enumerator GET_FIRST_CAL_DATE¶
- 0x10000025ULFirst calibration date
 - 
enumerator GET_LATEST_CAL_DATE¶
- 0x10000026ULLatest calibration date
 - 
enumerator GET_LATEST_TEST_DATE¶
- 0x10000027ULLatest test date
 - 
enumerator GET_LATEST_CAL_DATE_MONTH¶
- 0x1000002DULMonth of latest calibration
 - 
enumerator GET_LATEST_CAL_DATE_DAY¶
- 0x1000002EULDay of latest calibration
 - 
enumerator GET_LATEST_CAL_DATE_YEAR¶
- 0x1000002FULYear of latest calibration
 - 
enumerator GET_BOARD_OPTIONS_LOW¶
- 0x10000037ULLow part of the board options
 - 
enumerator GET_BOARD_OPTIONS_HIGH¶
- 0x10000038ULHigh part of the board options
 - 
enumerator MEMORY_SIZE¶
- 0x1000002AULThe memory size in samples
 - 
enumerator ASOPC_TYPE¶
- 0x1000002CULThe FPGA signature
 - 
enumerator BOARD_TYPE¶
- 0x1000002BULThe board type as a member of ALAZAR_BOARDTYPES
 - 
enumerator GET_PCIE_LINK_SPEED¶
- 0x10000030ULPCIe link generation
 - 
enumerator GET_PCIE_LINK_WIDTH¶
- 0x10000031ULPCIe link width in lanes
 - 
enumerator GET_MAX_PRETRIGGER_SAMPLES¶
- 0x10000046ULMaximum number of pre-trigger samples.
 - 
enumerator GET_CPF_DEVICE¶
- 0x10000071ULUser-programmable FPGA device. 1 = SL50, 2 = SE260
 - 
enumerator HAS_RECORD_FOOTERS_SUPPORT¶
- 0x10000073ULQueries if the board supports NPT record footers. Returns 1 if the feature is supported and 0 otherwise
 - 
enumerator CAP_SUPPORTS_TRADITIONAL_AUTODMA¶
- 0x10000074ULQueries if the board supports the AutoDMA Traditional acquisition mode. Returns 1 if the feature is supported and 0 otherwise.
 - 
enumerator CAP_SUPPORTS_NPT_AUTODMA¶
- 0x10000075ULQueries 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¶
- 0x10000076ULQueries 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¶
- 0x10000077ULTests if this board of the virtual-FIFO type.
 - 
enumerator CAP_SUPPORTS_NATIVE_SINGLE_PORT¶
- 0x10000078ULTests 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¶
- 0x10000079ULTests 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¶
- 0x10000080ULTests if this board supports 12-bit data packing. Returns 1 if support is present, and 0 otherwise.
 - 
enumerator HAS_PARALLEL_DMA_SUPPORT¶
- 0x10000072ULQueries if the board supports parallel dma. Returns 1 if the feature is supported, and 0 otherwise.
 - 
enumerator HAS_SEQUENTIAL_DMA_SUPPORT¶
- 0x10000086ULQueries if the board supports sequential dma. Returns 1 if the feature is supported, and 0 otherwise.
 - 
enumerator HAS_RECORD_HEADERS_SUPPORT¶
- 0x10000081ULTests if this board supports record headers. Returns 1 if support is present, and 0 otherwise.
 - 
enumerator CAP_SUPPORT_TRADITIONAL_SAMPLES_INTERLEAVED¶
- 0x10000082ULTests if this board supports samples interleaved in traditional mode. Returns 1 if support is present, and 0 otherwise.
 - 
enumerator CAP_SUPPORT_SOFTWARE_CAL¶
- 0x10000083ULTests if this board supports software calibration. Returns 1 if support is present, and 0 otherwise.
 - 
enumerator CAP_SUPPORTS_API_LOG_CLEAR¶
- 0x10000084ULTests if this board supports API log clear. Returns 1 if support is present, and 0 otherwise.
 - 
enumerator CAP_SUPPORTS_TRIGGER_SKIPPING¶
- 0x10000085ULTests 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_DES_CALIBRATION¶
- 1UL << 17
 
- 
enumerator OPTION_STREAMING_DMA¶