24

Provide .sal file translation through an API


Avatar
Tim

Originally, the request was to publish the .sal file format:
- Even just a format description would be helpful
- Would minimize the amount of GUI interaction needed for automated captures
- The ability to get an export of the binary data from the .sal without opening up Logic 2.
- An external utility could be a "plus"

Example use case: receive a .sal from a colleague and be able to export and run a script on the output without having to leave my terminal. And then automating that process. Original discuss forum post is here: discuss.saleae.com/t/utilities-for-sal-files/725/2

However, we don't have plans to make the file format public for reasons described in the support article below:
support.saleae.com/faq/technical-faq/is-the-.sal-file-format-documented

Instead, we would ideally want to provide a .sal-into-.bin translation through an API of the Logic 2 app. That way, we can change our internal file format to our hearts content without needing to make a public API & documentation release each time we do that.

A

Activity Newest / Oldest

Avatar

Tim

discuss.saleae.com/t/utilities-for-sal-files/725/16
"Generic interface for the file output: we use a software from cern (root.cern.ch) to do a statistical data analysis. Would be really great to attach an indivual file-output (you could provide a DLL containing the byte-conversion stuff and the user can implement his own methods, similar to the user code in the analysers )
It would be really great if one could use the output from the analyzers in the output, too"


Avatar

Tim

"1st priority wish: Provide a DLL with the file-IO, so that I can load a sal-file and access it channel-by channel for digtal and analog. (Similar to what you are doing for the analysers). I can also offer my help here!"


K

Kazimierz

I would like to know the format to be able to convert recordings captured with my own device to .sal to more conveniently analyze the waveforms. I would love to use Logic to record, but it's unreliable in my case (weeks-long capture), because the program closes every few days, sometimes the computer hangs (it's computer's fault, not Logic's), and sometimes there is Read Timeout and the capture stops. So I thought I would code capture feature into my code, and that would work for a long time without my maintenance, but I need some way to analyze the data afterwards.


G

Georg

+1


Avatar

Tim

discuss.saleae.com/t/utilities-for-sal-files/725/11
"Hi

I have a use case really similar to the one described here. I’d like to convert binaries files back into the .sal binary format in order to re-open the capture on Logic2. Having a bit of detail on how the .sal bin file is actually formatted would be really helpful to do that.

The point here is actually to stay in the very nice Saleae environment to do my work and not have to use other tools. The work I’m doing implies comparing captures taken with my Saleae 16 pro , with capture taken with another hardware. I’d love to import external binaries to use the power of Saleae analysers on it too."


J

Joseph

Another use-case: convert data to *.sal format in order to analyze it in Logic 2. The original data is acquired from different hardware (due to voltage isolation requirements) but I want to use Logic 2 to analyze the protocol


J

Joseph

No, I want to convert data which had captured on an oscilloscope to the *.sal format and then load it into Logic 2 for analysis.


Avatar

Tim

Ah I see what you mean. Thanks for clarifying! I had just realized you mentioned that you acquired data from completely different hardware.