Offset | Content |
000-004 | Rigol Identifier (RG01H) |
044-04D | Record date (2019-03-29) |
054-05B | Record time (19:08:46) |
064-06A | Modelname (MSO5074) |
06C-078 | Serialnumber of the model (MS5A2108XXXXX) |
0A8-end | 1 Byte for each sample |
Byte | Float |
000 | -2,246298E+00 |
001 | -2,228748E+00 |
… | |
127 | -1,754920E-02 |
128 | +0,000000E+00 |
129 | +1,754920E-02 |
… | |
254 | +2,211199E+00 |
255 | +2,228748E+00 |
echo ":STOP" | nc -w1 192.168.2.150 5555
echo ":WAV:MODE RAW" | nc -w1 192.168.2.150 5555
echo ":WAV:SOUR CHAN1" | nc -w1 192.168.2.150 5555
echo ":WAV:FORM ASCII" | nc -w1 192.168.2.150 5555
or Byteecho ":WAV:FORM BYTE" | nc -w1 192.168.2.150 5555
echo ":WAV:STAR 1" | nc -w1 192.168.2.150 5555
echo ":WAV:STOP 10000" | nc -w1 192.168.2.150 5555
echo ":WAV:DATA?" | nc -w1 192.168.2.150 5555 > /tmp/test.data
I use the SCPI command ":WAVeform:PREamble?" for the MSO2000A. The command is also available for the MSO5000.
With the MSO2000A, there are limitations when importing the data. A maximum of 250,000 bytes or 15,625 ASCII characters are allowed in one piece. In the manual of the MSO5000 I couldn't find anything.