My recollection is that when you ask a TEK scope for a waveform, it
sends back either ascii or binary, depending on how it is currently
configured. If it is ascii, it sends the word "CURVE" followed by a
preamble of about 50 to100 characters which describe the current scaling
settings, followed by 4096 comma-separated values between 0 and 255.
Then your code has to parse the preamble to find the scaling to convert
the values back to correct units. I think you can also get it to return
just the data, without the preamble. I remember sending the "CURV?"
command rather than "WAV?" but this was on a TEK2220 and a long time
ago. Hope this gives you some ideas.
-VR
sujani wrote:
>hi,
>thanks for your response.
>we are able to communicate
with the instrument now.but we are
>interested in capturing the waveform on the oscilloscope,as it is.is
>there any change we can make in the vi to capture the exact waveform?
>Both the vis-the one that i posted yesterday and NI's seem to be
>analysing something else using the waveform graph.We are not able to
>exactly capture whatever is there on the scope.
>Any suggestions are welcome.
>