62

Application / Automation API


S
Saleae

Add an API to interact with the app and the device without using the GUI directly.

This was supported in Logic 1 Socket API

A

Activity Newest / Oldest

M

Mitch

No Brainer. Must have feature, if you want to have the best analyzer on the market.


A

This is an absolute must-have! Please implement this.


S

Stephen

Please Saleae, this feature is a MUST have; used extensively to automate the collection of data under various test conditions. Scripting is a massive time saver


Avatar

Tim

(#57766)
"Hello! How can I enable remote scripting server on Logic 2 application? I know how to do it on 1.2.18 version, but can't find that option on version 2"


M

Michael

Absolutely! We have been heavily developing scripts to automate captures on our products, and would like to drop Saleae's into our CI/CD environment for captures of critical information on each build that we do. This will require this level of automation, and will result in more purchases as we grow our CI/CD system to include a Saleae on each station to capture and validate our systems. At 3x components per system all with several busses/captures, this will be a significant number of systems when we get all the infra built up and the automation API is critical for this.


D

David

An IP socket-based API would sure be nice. It would also allow people using RPi and other ARM processors to interface with Saleae. Who knows, someone outside of Saleae could even be the one to write a GUI display interface for ARM devices.


B

Benoît

agree, a must have


Avatar

Tim

(#58202)
"Feature Request - Remote control on socket like in 1.x - automatic logging"


W

William

The automation API was one of the main reasons we decided to use the saleae logic analyzers. It's SO useful. I really hope we get to see it soon in version 2!


  • Avatar
  • Y
Y

Yigit

Same here. I am also excited to see automation with version 2.


Avatar

Tim

(#57894)
"We looking at v2.2.5. It has a lot of nice features that do not exist in v1.x.x. We look forward to you getting the scripting in version 2. It would go a long way with our automated testing."


C

Christophe

+1 this feature is also mandatory for us to switch from logic 1x to 2x since our continuous integration is based on this feature


  • A
Z

Zakaria

+1, This will be very helpful to build an automated validation tests.


  • W
Avatar

Tim

discuss.saleae.com/t/when-will-the-scripting-socket-be-added-to-logic-2/645/5?
"Hi All,

I also vote to increase the priority of this topic. We are also using socket API in our continuous integration system.
It is not possible for us (40 users) to switch to new Logic 2 without a remote control API.

BR"


Avatar

Tim

(#57569)
"I have one more question.
Is there a way I can do the following from a script (bourne, sh, ...) instead of running the Logic/Logic2 tool.
- Run Logic or Logic2
- Click Start or Start-Sim
- Export text or csv file with given $PATH/$FILENAME
- Kill Logic or Logic2"


Avatar

Tim

discuss.saleae.com/t/quadrature-encoder-analyser/877/6?
"When will the automation API be available with 2.x, I like the new version and would prefer not going back to 1.x?

I have almost exactly the same quadrature decoder use case as Matt so I’d like to externally control my Logic 16 via socket API to start the capture and export the data for each run, ideally also running a measurement automatically after each run."


J

Jason

Adding a vote, I would definitely use this.
You might also consider a standalone piece of software that would just act as a server to test/automation clients, so that it's not tied to UI/UX changes.


Avatar

Tim

See another discuss forum post related to this idea:
discuss.saleae.com/t/scripting-socket-api/108


Avatar

Tim

Hi, in Logic 1 it is not possible to fully configure Logic through the Socket API. We use many Saleaes in automated test setups. The tests are very diverse. Some require I2S, others SPI etc... Creating and configuring analyzers for example through the socket API is not possible in v1. We have been in contact long time about this but this feature got never implemented. Our workaround is to generate configuration files (after reverse engineering the configuration file format) and load these (through the socket API). Obviously this is a poor solution. Would it be possible to add this feature to the v2?


N

Neel

Status changed to: Open

S

Saleae

Status changed to: Under review

Avatar

Laurence Deschênes-Villeneuve

This would very useful for using a saleae device as a measurement tool on a CI worker in an embedded C code deployment pipeline. Pretty please?


  • Avatar
  • A
J

Jasper

The API was already there in the previous versions, so my work depends on it. This is actually not a vote to add the API, but to not remove it! ;)


  • S
S

Saleae

Logic 2 is completely new software. We're planning to add the API again in the future