AlazarCoprocessorDownload¶
AlazarCoprocessorDownload()
is a define that points to
AlazarCoprocessorDownloadA()
on Linux and on Windows if UNICODE
is
not defined. If UNICODE
is defined on Windows,
AlazarCoprocessorDownload()
points to AlazarCoprocessorDownloadW()
.
The two functions only vary by the fact that they use narrow or wide string
types.
Function Syntax¶
-
RETURN_CODE
AlazarCoprocessorDownloadA
(HANDLE handle, char * fileName, U32 options)¶ Downloads a FPGA image in RBF (raw binary file) format to the coprocessor FPGA.
- Return
- ApiSuccess upon success, or an error code. See RETURN_CODE for more detailed information.
- Parameters
handle
: Handle to boardfileName
: Path to RBF fileoptions
: Download options chosen from ALAZAR_COPROCESSOR_DOWNLOAD_OPTIONS
-
RETURN_CODE
AlazarCoprocessorDownloadW
(HANDLE handle, wchar_t * fileName, U32 options)¶ Downloads a FPGA image in RBF (raw binary file) format to the coprocessor FPGA.
- Return
- ApiSuccess upon success, or an error code. See RETURN_CODE for more detailed information.
- Parameters
handle
: Handle to boardfileName
: Path to RBF fileoptions
: Download options chosen from ALAZAR_COPROCESSOR_DOWNLOAD_OPTIONS