Hi,<br>
<br>
The waveform data returned by the <code>curve?</code>  query is not a file but an IEE488.2 "block" (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&t=133570">https://forum.tek.com/viewtopic.php?f=580&t=133570</a>