AlazarQueryCapability¶
Function Syntax¶
-
RETURN_CODE
AlazarQueryCapability
(HANDLE handle, U32 capability, U32 reserved, U32 * retValue)¶ Get a device attribute as a unsigned 32-bit integer.
- Return
- ApiSuccess upon success, or an error code. See RETURN_CODE for more detailed information.
- Parameters
handle
: Board handlecapability
: The board capability to query. Must be a member of ALAZAR_CAPABILITIES.reserved
: Pass 0retValue
: Capability value
LabVIEW Block Diagram¶
Related Enumerations¶
-
enum
ALAZAR_CAPABILITIES
¶ Capabilities that can be queried through AlazarQueryCapability()
Values:
-
GET_SERIAL_NUMBER
= 0x10000024UL¶ Board’s serial number.
-
GET_FIRST_CAL_DATE
= 0x10000025UL¶ First calibration date.
-
GET_LATEST_CAL_DATE
= 0x10000026UL¶ Latest calibration date.
-
GET_LATEST_TEST_DATE
= 0x10000027UL¶ Latest test date.
-
GET_LATEST_CAL_DATE_MONTH
= 0x1000002DUL¶ Month of latest calibration.
-
GET_LATEST_CAL_DATE_DAY
= 0x1000002EUL¶ Day of latest calibration.
-
GET_LATEST_CAL_DATE_YEAR
= 0x1000002FUL¶ Year of latest calibration.
-
GET_BOARD_OPTIONS_LOW
= 0x10000037UL¶ Low part of the board options.
-
GET_BOARD_OPTIONS_HIGH
= 0x10000038UL¶ High part of the board options.
-
MEMORY_SIZE
= 0x1000002AUL¶ The memory size in samples.
-
ASOPC_TYPE
= 0x1000002CUL¶ The FPGA signature.
-
BOARD_TYPE
= 0x1000002BUL¶ The board type as a member of ALAZAR_BOARDTYPES.
-
GET_PCIE_LINK_SPEED
= 0x10000030UL¶ PCIe link speed in Gb/s.
-
GET_PCIE_LINK_WIDTH
= 0x10000031UL¶ PCIe link width in lanes.
-
GET_MAX_PRETRIGGER_SAMPLES
= 0x10000046UL¶ Maximum number of pre-trigger samples.
-
GET_CPF_DEVICE
= 0x10000071UL¶ User-programmable FPGA device. 1 = SL50, 2 = SE260.
-
HAS_RECORD_FOOTERS_SUPPORT
= 0x10000073UL¶ Queries if the board supports NPT record footers. Returns 1 if the feature is supported and 0 otherwise
-
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.
-
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.
-
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.
-
CAP_IS_VFIFO_BOARD
= 0x10000077UL¶ Tests if this board of the virtual-FIFO type.
-
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.
-
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.
-
CAP_SUPPORT_12_BIT_PACKING
= 0x10000080UL¶ Tests if this board supports 12-bit data packing. Returns 1 if support is present, and 0 otherwise.
-
HAS_RECORD_HEADERS_SUPPORT
= 0x10000081UL¶ Tests if this board supports record headers. Returns 1 if support is present, and 0 otherwise.
-
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.
-
-
enum
ALAZAR_BOARD_OPTIONS_LOW
¶ AlazarTech board options. Lower 32-bits.
Values:
-
OPTION_STREAMING_DMA
= (1UL << 0)¶
-
OPTION_EXTERNAL_CLOCK
= (1UL << 1)¶
-
OPTION_DUAL_PORT_MEMORY
= (1UL << 2)¶
-
OPTION_180MHZ_OSCILLATOR
= (1UL << 3)¶
-
OPTION_LVTTL_EXT_CLOCK
= (1UL << 4)¶
-
OPTION_SW_SPI
= (1UL << 5)¶
-
OPTION_ALT_INPUT_RANGES
= (1UL << 6)¶
-
OPTION_VARIABLE_RATE_10MHZ_PLL
= (1UL << 7)¶
-
OPTION_MULTI_FREQ_VCO
= (1UL << 7)¶
-
OPTION_2GHZ_ADC
= (1UL << 8)¶
-
OPTION_DUAL_EDGE_SAMPLING
= (1UL << 9)¶
-
OPTION_DCLK_PHASE
= (1UL << 10)¶
-
OPTION_WIDEBAND
= (1UL << 11)¶
-