Ejemplo n.º 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)
Ejemplo n.º 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
Ejemplo n.º 3
0
 def _get_supported_scan_options(self):
     return ScanOptions(ul.get_config(
         InfoType.BOARDINFO, self._board_num, 0,
         BoardInfo.ADSCANOPTIONS))