联系我们

与泰克代表实时聊天。 工作时间:上午 9:00 - 下午 5:00(太平洋标准时间)。

电话

致电我们

工作时间:上午9:00-下午5:00(太平洋标准时间)

下载

下载手册、产品技术资料、软件等:

下载类型
型号或关键字

反馈

How I do I program my oscilloscope to get waveform data?

问题:

How I do I program my oscilloscope to get waveform data?

答案:

There are two waveform query types, WAVFRM? And CURVE?

The WAVFRM? query returns a preamble followed by a binary block. The preamble contains data that you need to properly scale the data back into volts and seconds.

The CURVE? query also returns a binary block. The CURVE? Query returns only the binary block. It does not return a preamble. This makes it a little faster than the WAVFM? Query and is typically used after the preamble values have been obtained one time. The preamble values will remain the same until your program changes the settings of the scope. The data comes in a 2-byte format. The data will be in 1-byte or 2-byte per sample point format depending on the setting of theDATA:WIDTH parameter. When averaging or hi-res acquisition modes have been selected, the increased resolution is conveyed in the 2-byte data. In other acquisition modes there will be no significance in the use of 2-byte data.

The binary block structure consists of #xyyynnnn…..LF, where the x value represents the number of y bytes. The y bytes represent the record length. The n values are the digitizing levels for each sample and the block is terminated by a linefeed character.

With a 5,000-point record length, this means a 10,000-byte chunk of data. For example, if you had a 10,000 point record length, then the block would be #510000nnnnnnn…..LF.

Learn the XYZ's of Oscilloscopes »


此常见问题适用于:

无产品系列

产品:

常见问题 ID 52756

查看所有常见问题 »