It is my first day experimenting with my Logic 8 Pro, and I’m checking the Automation Script documentation to see if I can use the logic analyzer to implement a simple test system. This system has one PCB connected to my laptop over USB CDC (let’s call it PCB A), and another PCB (PCB X), that receives some stimuli from the PCB A. I’m able to send commands to PCB A using Python and it generates some digital pulses that trigger actions on PCB X. I would like to use the Logic Pro to read some PCB X outputs and measure/count things like rising/falling edges, high level periods, etc. What I’m thinking is a closed loop system where I can control the system inputs and verify the system outputs with Python + Logic Pro.
I’m wondering what is the best way to count edges/periods from Python. Is it possible to do with the Automation Script only or I should be using the Automation Script + a custom Analyzer that would count edges+time?
Can you point me the right direction before I dig too deep in the documentation?