Exemple #1
0
 def _get_supported_scan_options(self):
     try:
         return ScanOptions(
             ul.get_config(InfoType.BOARDINFO, self._board_num, 0,
                           BoardInfo.DACSCANOPTIONS))
     except ULError:
         return ScanOptions(0)
Exemple #2
0
 def supported_scan_options(self):
     if self.supports_scan:
         scan_options_supported = ScanOptions(
             ul.get_config(InfoType.BOARDINFO, self._board_num, 0,
                           BoardInfo.ADSCANOPTIONS))
     else:
         scan_options_supported = None
     return scan_options_supported
 def _get_supported_scan_options(self):
     return ScanOptions(ul.get_config(
         InfoType.BOARDINFO, self._board_num, 0,
         BoardInfo.ADSCANOPTIONS))