Dangerous Prototypes

Other projects => Open Bench Logic Sniffer => Topic started by: Yaro on May 15, 2015, 06:10:38 pm

Title: How to extract SPI data
Post by: Yaro on May 15, 2015, 06:10:38 pm
Hi all,

I need to extract data I've captured on OLS from MOSI, I've used SPI analyzer tool inside the program and it correctly convert bits to data, but now I need to extract this data.

There is a way to extract just data MOSI from a capture?

For example, I've extracted file and I have MOSI and MISO:

Code: [Select]
"
"index","start-time","end-time","event?","event-type","MOSI data","MISO data"
"0","805,96?ms","805,96?ms","true","CS_LOW","",""
"1","1,18?s","1,18?s","true","CS_HIGH","",""
"2","1,39?s","1,39?s","true","CS_LOW","",""
"3","1,39?s","1,39?s","false","","202",""
"4","1,39?s","1,39?s","false","","","0"
"5","1,39?s","1,39?s","false","","0",""
"6","1,39?s","1,39?s","false","","","0"
"7","1,39?s","1,39?s","false","","16",""
"

What I want is a file like this:

Code: [Select]
202
0
16

There is a program that can do that?
Title: Re: How to extract SPI data
Post by: jawi on May 26, 2015, 02:00:27 pm
Import the CSV in Excel/Numbers/... and extract the data you want?

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00892053232session_write_close ( )...(null):0
20.00922184824ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00922185600Database_MySQL->query( ).../DatabaseHandler.php:119
40.05402324336Database_MySQL->error( ).../Db-mysql.class.php:273