https://sigrok.org/w/index.php?title=File_format:Rigol_WFM4&feed=atom&action=history
File format:Rigol WFM4 - Revision history
2024-03-28T16:05:49Z
Revision history for this page on the wiki
MediaWiki 1.37.1
https://sigrok.org/w/index.php?title=File_format:Rigol_WFM4&diff=13998&oldid=prev
Apo: endianness
2018-12-29T19:52:11Z
<p>endianness</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:52, 29 December 2018</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l4">Line 4:</td>
<td colspan="2" class="diff-lineno">Line 4:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Header ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Header ==</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The known header values that are of interest to sigrok are as follows (addresses are hex):</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The known header values that are of interest to sigrok are as follows (addresses are hex<ins style="font-weight: bold; text-decoration: none;">, and data is little endian</ins>):</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{| border="0" class="alternategrey sigroktable sortable"</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{| border="0" class="alternategrey sigroktable sortable"</div></td></tr>
</table>
Apo
https://sigrok.org/w/index.php?title=File_format:Rigol_WFM4&diff=13993&oldid=prev
Apo at 14:34, 29 December 2018
2018-12-29T14:34:56Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 15:34, 29 December 2018</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l34">Line 34:</td>
<td colspan="2" class="diff-lineno">Line 34:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The channel data starts at offset 0x51EC and is non-interleaved. Each active channel (starting with channel 1) has ''memory_depth'' continuous samples, followed by ''bytes_per_channel - memory_depth'' bytes of padding.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The channel data starts at offset 0x51EC and is non-interleaved. Each active channel (starting with channel 1) has ''memory_depth'' continuous samples, followed by ''bytes_per_channel - memory_depth'' bytes of padding.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">== Resources ==</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* [https://github.com/Cat-Ion/rigol-ds4000-wfm A documentation of the known values of the format]</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:File format]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:File format]]</div></td></tr>
</table>
Apo
https://sigrok.org/w/index.php?title=File_format:Rigol_WFM4&diff=13992&oldid=prev
Apo: Created page with "{{DISPLAYTITLE:File format:Rigol WFM4}} WFM4 is a proprietary file format used by the Rigol DS4000 series digital storage oscilloscopes. It is used to record the measured..."
2018-12-29T14:09:27Z
<p>Created page with "{{DISPLAYTITLE:File format:Rigol WFM4}} WFM4 is a proprietary file format used by the <a href="/wiki/Rigol_DS4000_series" title="Rigol DS4000 series">Rigol DS4000 series</a> digital storage oscilloscopes. It is used to record the measured..."</p>
<p><b>New page</b></p><div>{{DISPLAYTITLE:File format:Rigol WFM4}}<br />
WFM4 is a proprietary file format used by the [[Rigol DS4000 series]] digital storage oscilloscopes. It is used to record the measured waveforms.<br />
<br />
== Header ==<br />
<br />
The known header values that are of interest to sigrok are as follows (addresses are hex):<br />
<br />
{| border="0" class="alternategrey sigroktable sortable"<br />
|-<br />
! style="width: 5em; text-align: left;" | Bytes<br />
! style="text-align: left;" | Field<br />
|-<br />
| 0 - 3<br />
| 0xA5 0xA5 0x38 0x00<br />
|-<br />
| 40<br />
| Bitmask of the activated analog channels (LSB is CH1, etc)<br />
|-<br />
| 60 - 63<br />
| Memory depth: Number of samples per channel (uint32)<br />
|-<br />
| 64 - 67<br />
| Sampling rate in Hz (float)<br />
|-<br />
| 134 - 137<br />
| Bytes per channel: memory depth plus padding (uint32)<br />
|}<br />
<br />
The timespan of the file can be determined by:<br />
<br />
number of points per channel / sampling rate<br />
<br />
== Data ==<br />
<br />
The channel data starts at offset 0x51EC and is non-interleaved. Each active channel (starting with channel 1) has ''memory_depth'' continuous samples, followed by ''bytes_per_channel - memory_depth'' bytes of padding.<br />
<br />
[[Category:File format]]</div>
Apo