2

Automation API- 'Start capture' on pre-existing session


M
Matt

I'd like a way to trigger a 'start' command in the app through the API, without changing the session settings.

I often use the Saleae logic analyzer for interactively debugging a program. The original API was great for this because I could manually tweak settings in the app, run a script that triggers a capture using the existing session settings, then view the results directly in the app, and rapidly iterate with different settings. With the new API, there doesn't appear to be a way to attach to an existing session, and the capture configurations are not geared towards the GUI. For instance, names cannot be assigned to a channel, and graph size/zoom cannot be set. It would be great if there was a way to just start a capture with the current session settings, like in the old API.

A

Activity Newest / Oldest

Avatar

Tim

(#78303)
"We are running in a semi automated way. For example, we perform a test shot that automates several different lab equipment and then starts the saleae capture. At the end of that test shot, we want to view the data before moving to the next test shot.

So before moving to the next test shot, we want to view the data which is coming from different sources (different channels) and some windows needs to be fitted.
---
Our current program does the following:
1. Starts captures
2. Waits for capture to complete
3. Save capture
4. Close and move on to the next shot (user initiated)

What we would like is before we save the capture, or after it saves it, we want to call the API to resize a specific channel so that we can view it."


Avatar

Tim

(#77791)
"I didn't know if there was an API call I was missing that would allow me to attach to an existing session, configure the logic analyzer as required, start the recording and then detach from the session without closing it."


Avatar

Tim

Same request here via Twitter:
twitter.com/cibomahto/status/1612949819655430144