Technical data
876 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
32 Waveform Commands
Streaming On When streaming is on there is no limit on the number of waveform data
points that are returned. It is recommended that any new programs use
streaming on to send waveform data points. The waveform data response
when streaming is on is as follows.
Returned Format
[:WAVeform:DATA] <block_data>[,<block_data>]<NL>
Example This example places the current waveform data from channel 1 into the
varWavData array in the word format.
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":WAVEFORM:SOURCE CHANNEL1 ' Select source.
myScope.WriteString ":WAVEFORM:FORMAT WORD" ' Select word format.
myScope.WriteString ":WAVEFORM:DATA?"
varWavData = myScope.ReadIEEEBlock(BinaryType_I2)
Figure 6 Streaming Off
# N L (N bytes) 0 1 2 ... L-1 End
Start of response
2nd byte, word, or ASCII
character of waveform data
1st byte, word, or ASCII
character of waveform data
Number of bytes of waveform data to follow
Number of bytes in Length block
Termination character
Last byte, word, or ASCII
character of waveform data
Figure 7 Streaming On
#0
B1 B2 B3
...
L-1 End
Start of response
2nd byte, word, or ASCII
character of waveform data
1st byte, word, or ASCII
character of waveform data
Number is zero
Termination character
Last byte, word, or ASCII
character of waveform data
3rd byte, word, or ASCII
character of waveform data