AlazarConfigureLSB

Function Syntax

RETURN_CODE AlazarConfigureLSB(HANDLE handle, U32 valueLsb0, U32 valueLsb1)

Repurposes unused least significant bits in 12- and 14-bit boards.

12- and 14-bit digitizers return 16-bit sample values per sample by default, with the actual sample codes stored in the most significant bits. By default, the least significant bits of each sample value are zero-filled. Use this option to use these otherwise unused bits as digital outputs.

This feature is not available on all boards. See board-specific documentation for more information.

Return

ApiSuccess upon success, or an error code. See RETURN_CODE for more detailed information.

Parameters
  • [in] handle: Handle to board

  • [in] valueLsb0: Specifies the signal to output to the least significant bit of each sample value. Must be one of ALAZAR_LSB.

  • [in] valueLsb1: Specifies the signal to output to the least significant bit of each sample value. Must be one of ALAZAR_LSB.

LabVIEW Block Diagram

../_images/AlazarConfigureLSB.vi.png