I am using Logic 2 during development of a product. In order to get certain functionality working in hardware, I frequently follow a sequence of operations like this:
- Reset an embedded device
- Press “Start capture” in Logic 2
- Run some shell commands that produce certain stimuli
- Press “Stop capture” in Logic 2
- Look at captured data to figure out what’s going on
While step 5 is inherently manual, step 1 through 4 are purely repetitive and a prime target for automation. Steps 1 and 3 are easily accomplished using a simple shell script, but I have so far not found a way to start and stop a capture in Logic 2. The Logic 2 automation API seems to only be designed for headless/automated capture without a human looking at the data, and can’t simply start a capture in an existing tab. Is there any known workaround for this?