reading .OSC format file given from oscilloscope

7 Ansichten (letzte 30 Tage)
mehrab zamanian
mehrab zamanian am 10 Jul. 2022
Kommentiert: dpb am 10 Jul. 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 Kommentare
mehrab zamanian
mehrab zamanian am 10 Jul. 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 am 10 Jul. 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by