Okay, do you understand how the data is written in C, and how in C I could 
convert the data to readable data? I think I understand how to transport 
that from C to python but I don't understand the initial translation from 
the written form to a human-readable form.  

On Monday, April 29, 2019 at 3:18:27 PM UTC-4, TJF wrote:
>
> Hi Sean!
>
> Am Montag, 29. April 2019 19:23:25 UTC+2 schrieb Sean Landerkin:
>>
>> ... how do I read the data that is written in the output.x file that is 
>> written by rb_file.py. Since its raw data I cant sudo nano the files and I 
>> am not quite sure how to convert it to something like a .txt or csv file 
>> that I can then parse through. Any suggestions on how I would do this? 
>>
>
> Never use sudo during development. Instead add yourself (your user ID) to 
> the group pruio, and work from user space.
>
> Regarding reading the data I cannot help. I just learned a bit Python for 
> coding the examples, but never used it again. The data get written by 
> libc.fwrite(), so checking function libc.fread() may be a good start. I 
> guess creating a size matching UInt16 array and reading in the data will 
> do.
>
> Regards
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/fcaa02f3-4321-41f6-962a-08aeda987062%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to