Posted Wed, 19 Apr 2023 13:06:10 GMT by Welton, Joe
Collected 1000 data traces on a dpo7054 in the rpb format (since it is small and transfers fast).&#160; I have unable to decode the binary file to numeric voltage values in order to perform post processing.&#160; Does anyone have an example in c, c++, or c#?<br> <br> &#160;
Posted Wed, 19 Apr 2023 20:55:23 GMT by Teles, Afonso
Hi,<br> <br> The waveform data returned by the <code>curve?</code>&#160; query is not a file but an IEE488.2 &quot;block&quot; (also known an arbitrary or binary block), which is defined on page 2-7 and 2-8 of the programmer's manual (attached with this post).<br> The start of the block is a header which tells you the length of the rest of the block. The data in the rest of that block is, by your own choice, RPBinary, which is the trace data (voltage) stored as a positive integer. The R denotes that the most significant byte is sent first, this is only relevant when the each point is more than 1 byte wide, which is not the case for analog channels but is the case for math waveforms, for example.<br> <br> The following index includes examples for transferring and decoding waveform data from a DPO7000 and other similar instruments: <a href="https://forum.tek.com/viewtopic.php?f=580&amp;t=133570">https://forum.tek.com/viewtopic.php?f=580&amp;t=133570</a>
Posted Thu, 20 Apr 2023 12:29:31 GMT by Welton, Joe
Thanks!&#160; Greatly appreciated.

You must be signed in to post in this forum.