def setFilterPosition(self, position): cfwp = udrv.CFWParams() cfwp.cfwModel = udrv.CFWSEL_CFW8 cfwp.cfwCommand = udrv.CFWC_GOTO cfwp.cfwParam1 = position cfwr = udrv.CFWResults() return self._cmd(udrv.CC_CFW, cfwp, cfwr)
def getFilterStatus(self): cfwp = udrv.CFWParams() cfwp.cfwModel = udrv.CFWSEL_CFW8 cfwp.cfwCommand = udrv.CFWC_QUERY cfwr = udrv.CFWResults() self._cmd(udrv.CC_CFW, cfwp, cfwr) return cfwr.cfwStatus