reading .OSC format file given from oscilloscope

7 visualizzazioni (ultimi 30 giorni)
mehrab zamanian
mehrab zamanian il 10 Lug 2022
Commentato: dpb il 10 Lug 2022
I want to read .OSC format file in Matlab/Python. Is there any code for converting the OSC format?
or Is there a program that can convert 5000 .OSC files to another format?
  3 Commenti
mehrab zamanian
mehrab zamanian il 10 Lug 2022
I emailed the vendor and he gave me a cpp code that just read the first 10 data of file. In OSC format data save binary and hex.
this is the link that cpp code is in there:
dpb
dpb il 10 Lug 2022
Who is the vendor and isn't there a physical description of the file format published?
Somebody fluent in cpp could undoubtedly decipher the data struct there, but I am not that person.
It's somewhat of a pain when folks use C struct as there is no direct match of a MATLAB high-level data constract that matches -- one either has to read pieces at a time directly from the file and decode them or use a mex interface that calls the C/C++ code with the struct

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by