@@ -320,10 +320,11 class Discovery(object): | |||
|
320 | 320 | if syncOnTrigger: |
|
321 | 321 | self.analog_out_set_trigger(channel) |
|
322 | 322 | self.__libdwf.FDwfAnalogOutRepeatSet(self.__hdwf, c_int(channel),c_int(0)) |
|
323 | if frequency >= triggerFrq: | |
|
324 |
|
|
|
325 | else: | |
|
326 | runDuration = triggerFrq/frequency | |
|
323 | # if frequency >= triggerFrq: | |
|
324 | runDuration = triggerFrq | |
|
325 | # Doesn't work! try with triggerFrq=1 and frequency=0.8 | |
|
326 | # else: | |
|
327 | # runDuration = triggerFrq/frequency | |
|
327 | 328 | self.__libdwf.FDwfAnalogOutRunSet(self.__hdwf, c_int(channel),c_double(runDuration)) |
|
328 | 329 | self.__libdwf.FDwfAnalogOutConfigure(self.__hdwf, c_int(channel), c_bool(True)) |
|
329 | 330 |
General Comments 0
You need to be logged in to leave comments.
Login now