2

Automation API - API for query the Logic device status


S
Sabi

Require API(s) to query the device status. For example: device is under capturing or stopped. Even if Logic device does not start via Automation API, the query API still can work.

A

Activity Newest / Oldest

Avatar

Tim

(#87558)
"The ability to get the current state of a running capture, this is especially important for having a script change settings on other devices and detecting if a trigger has occurred. This requires either asyncio or multiprocessing/threading to accomplish currently. Adding a non blocking function that gets if the capture is running allows for other tasks to operate.
---
This is especially troublesome, even if we called stop, we can’t tell if the capture did trigger or not. We would have to save the data and extract the trigger information manually by looking at the data."