Your browser does not allow scripts
Please click here to view a static table of contents without scripts
DS1M12_IsDeviceProgrammed
Return to Introduction  Previous page  Next page
This function allows an application to query whether the FPGA has been configured with a RBF.

DS_STATUS
DS1M12_IsDeviceProgrammed
(DS_HANDLE dsHandle, LPBOOL lpbProgramState)




Parameters

dsHandle
Handle of a DS1M12.
lpbProgramState
Pointer to a variable of type BOOLEAN which returns the program state of the DS1M12. Device programmed (TRUE), device not programmed (FALSE).




Return Value
Returns DS_SUCCESS if successful, otherwise the return value will be one of the following error codes:

   DS_INVALID_HANDLE
   DS_DEVICE_NOT_FOUND
   DS_DEVICE_PROGRAM_CHANNEL_IN_USE
   DS_FAILED_TO_SYNCHRONIZE_DEVICE_MPSSE
   DS_
FAILED_TO_COMPLETE_COMMAND
   DS_IO_ERROR