Sign in

How to Export Serial Protocol Results to a Raw Binary File

Follow

The async serial analyzer in the Saleae software only supports one export option. That export mode creates a text file with comma-separated values that are intended to be easy to open with Excel.

If you would prefer to export a binary file whose contents are strictly the values decoded from the serial protocol analyzer, without timestamps or other metadata, that can be accomplished by using a utility to convert from the csv export format to a binary file.

  1. Change the display radix to hexadecimal. How to change the display radix (base) of an analyzer, export mode, or other numeric display
  2. Export the serial analyzer results using the option on the serial analyzer's settings menu. Details here: Saving, Loading, and Exporting Data
  3. Download and extract the SaleaeUtility release from GitHub here. Note: Currently, the release only contains the Windows runtime. Please write in if you need Linux or Mac support.
  4. Run SaleaeUtility.cmd from the command line with two arguments: the input csv file and the output binary file. SaleaeUtility.cmd \path\to\input\file.csv \path\to\output\file.bin
  5. Done!

trello ID: 563953a0b6cb9eff97d5e92b

trello data: 924623407
Have more questions? Submit a request

Comments