PCM2Wav-py icon indicating copy to clipboard operation
PCM2Wav-py copied to clipboard

Doesnt work with saleae-logic-alpha 2.3.13-1

Open lucastanure opened this issue 5 years ago • 1 comments

Hi,

Thanks for the great work. This software doesn't seems to work with the latest saleae-logic-alpha 2.3.13-1.

There are two ways to export the data:

Time [s] | Channel 0 | Channel 1 | Channel 2 1.20147512 | 1 | 0 | 0 1.20147544 | 0 | 0 | 0 1.20147577 | 1 | 0 | 0 1.20147609 | 0 | 0 | 0 1.20147642 | 1 | 0 | 0

Or

name | type | start_time | duration | channel | data I2S / PCM | data | 1.20148586 | 9.76E-06 | 0x0000000000000001 | 0x0000000000000000 I2S / PCM | data | 1.20149628 | 9.76E-06 | 0x0000000000000000 | 0x0000000000000000 I2S / PCM | data | 1.20150669 | 9.77E-06 | 0x0000000000000001 | 0x0000000000000000 I2S / PCM | data | 1.20151711 | 9.76E-06 | 0x0000000000000000 | 0x0000000000000000 I2S / PCM | data | 1.20152753 | 9.76E-06 | 0x0000000000000001 | 0x0000000000000000 I2S / PCM | data | 1.20153794 | 9.77E-06 | 0x0000000000000000 | 0x0000000000000000 I2S / PCM | data | 1.20154836 | 9.76E-06 | 0x0000000000000001 | 0x0000000000000000

Neither of these two ways seems to generate a valid file.

lucastanure avatar Nov 11 '20 10:11 lucastanure

Hello, It seems that the rows were shifted in the new versions. I have created a pull request(#7) with the new row numbers, in order to parse Saleae Logic 2.X data. Moreover, as mention by Saleae's twitter account you may need to set the analyzer to signed mode.

dim1119 avatar Aug 17 '21 10:08 dim1119