from_file

RigolWFM.mso5074.from_file(file_name: str) Mso5000Waveform[source]

Parse a Rigol MSO5074 .bin file and normalize it for Wfm.from_file().

The MSO5074 firmware stores nearly all metadata fields incorrectly. This function recovers what it can (x_display_range, frame string) and derives the rest (actual sample count, x_increment) from the file layout itself. Voltage values are approximate: 1 V/div with 25 ADC counts per division.