beautypg.com

Calculate a data point’s horizontal position – Teledyne LeCroy X-STREAM OSCILLOSCOPES Remote Control User Manual

Page 64

background image

P

A R T

O

N E

:

A B O U T

R E M O T E

C O N T R O L

58

ISSUED: February 2005

WM-RCM-E Rev D

CALCULATE A DATA POINT’S HORIZONTAL POSITION

Each vertical data value has a corresponding horizontal position, usually measured in time or frequency units.

The calculation of this position depends on the type of waveform. Each data value has a position, i, in the
original waveform, with i = 0 corresponding to the first data point acquired. The descriptor parameter

HORUNIT gives a string with the name of the horizontal unit.

Single Sweep waveforms: x[i] = HORIZ_INTERVAL x i + HORIZ_OFFSET. For acquisition waveforms

this time is from the trigger to the data point in question. It will be different from acquisition to acquisition
since the HORIZ_OFFSET is measured for each trigger. In the case of the data shown above this means:

HORIZ_INTERVAL = 1e-08 from the floating point number 322b cc77 at Byte 194

HORIZ_OFFSET = -5.149e-08 from the double precision floating point number be6b a4bb 51a0 69bb

at Byte 198

HORUNIT = S = seconds from the string 5300 ... at Byte 262

This gives:

x[0] = -5.149e-08 S
x[1] = -4.149e-08 S.