reading .OSC format file given from oscilloscope

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 commentaires

dpb
dpb le 10 Juil 2022
Well, who's o'scope we talking about here? The vendor should have the format for the files and generally supply code to read their product's data.
I never came across the particular extension, but there are a lot of newer miniature 'scopes out there now that weren't in my days w/ Tektronix, HP (long before Agilent), etc., ...
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 le 10 Juil 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

Connectez-vous pour commenter.

Réponses (0)

Commenté :

dpb
le 10 Juil 2022

Community Treasure Hunt

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

Start Hunting!

Translated by