Shop OBEX P1 Docs P2 Docs Learn Events
Peak >210 value/sec to CSV file with DataLogger_Lite_Driver — Parallax Forums

Peak >210 value/sec to CSV file with DataLogger_Lite_Driver

cessnapilotcessnapilot Posts: 182
edited 2010-07-14 17:46 in Propeller 1
Hi,

A lite version of the 'DataLogger_UART_Driver' object has been placed at OBEX:

http://obex.parallax.com/objects/641/

More than 210 ASCII format value/sec peak transfer speed can be achieved with 115K baud UART.

Measured peak write speed was between 210 to 238 ASCII format data/sec,· depending on make and kind of thumb drive.

Due to buffered operation of the driver, ~200 ASCII format value/sec was common at 57K baud UART.

Please note that the >210 value/sec write speed might not be available in a given application, where the data collection and· data processing byte code is interpreted with COG0, along with the driver's code. I recommend to interpret data collection procedures with separate COG(s) paralel.

Available CSV procedures in the DataLogger_Lite_Driver:

To append a line to a CSV file

·· Line_New
·· Line_Append_Int
·· Line_Append_Qval
·· Line_Write_CRLF


To random access read any line from a CSV file
·
·· Line_Seek
·· Line_Read··


To random access read any data from a CSV line

·· Value_Read··


··
The new driver comes with all the standard File and Directory operations.


Cheers,

Istvan

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


Intentionally Left Blank
Sign In or Register to comment.