This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The Saleae Logic 2 GUI has a scripting API, but it's designed for full automation, and doesn't | |
# seem to have a method for telling the GUI to just start a capture. So forget it, let's just | |
# invoke the button ourselves... | |
# | |
# Tested with Windows 10 and Saleae Logic 2.4.3, you'll likely need to tweak this | |
def start_capture(): | |
import pywinauto | |
app = pywinauto.application.Application(backend="uia").connect(title_re="Logic 2.*") |
OlderNewer