##// END OF EJS Templates
added output enable method for discovery
jeandet -
r12:39a95a7edb96 default draft
parent child
Show More
@@ -403,6 +403,9 class Discovery(object):
403 # self.__libdwf.FDwfAnalogOutWaitSet(self.__hdwf, c_int(channel), c_double(wait))
403 # self.__libdwf.FDwfAnalogOutWaitSet(self.__hdwf, c_int(channel), c_double(wait))
404 # self.__libdwf.FDwfAnalogOutConfigure(self.__hdwf, c_int(channel), c_bool(True))
404 # self.__libdwf.FDwfAnalogOutConfigure(self.__hdwf, c_int(channel), c_bool(True))
405
405
406 def digital_io_output_enable(self, value):
407 self.__libdwf.FDwfDigitalIOOutputEnableSet(self.__hdwf, c_int(value))
408
406 def digital_io_get(self):
409 def digital_io_get(self):
407 dwRead = c_uint32()
410 dwRead = c_uint32()
408 self.__libdwf.FDwfDigitalIOStatus (self.__hdwf)
411 self.__libdwf.FDwfDigitalIOStatus (self.__hdwf)
General Comments 0
You need to be logged in to leave comments. Login now