def pulse_dtr(conn, state=True, duration=0.1):
    conn.setDTR(state)
    time.sleep(duration)
    conn.setDTR(not state)
This is a Player Event
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/utils/serial_port.py/pulse_dtr--crossover with--dataset/ETHPy150Open anandology/pyjamas/examples/misc/flowplayer/fp.py/FlowPlayerExample.onLoadPlayer