How can I Programmatically Determine the Trigger Time and Sample Point for a Set Record Length on the DL850/DL750?

To determine the exact trigger time of the waveform acquisition, use the ":HISTORY:TIME? 0" command, where 0 refers to the latest acquisition record.
To determine the exact trigger sample number, use the ":WAVEFORM:TRIGGER?" command. The number of samples that would be read from the scope is:

                        No. of Points = Record Length * 1.001

Since the trigger sample number is counted from the first point, you can ignore the last 0.1% of the record length. For example, if the record length is 10k points, the total sample points must be 10,000 *1.001 = 10,010 points. You can ignore the last 10 points, 10,000*0.001 = 10 points.

The Time Zero can be counted from the first point.
Sample Rate(SR): ':WAVEFORM:SRATE?'
Trigger Position(TP): ' :WAVEFORM:TRIGGER?'
The Time Zero is at this Trigger Point.
So the relative time of the first point of the wavefrom data is SR*TP*(-1).
 
Please refer to the attached image file of the DL850 Manual Instruction Manual IMDL850-01EM Chapter 3, for more information on how the total number of sample points is calculated.

Related Products & Solutions

Data Acquisition (DAQ)

Yokogawa data acquisition systems give you the most flexibility and power to measure, display, store, and even actuate any number of physical or electrical phenomena.

High Speed Data Acquisition

Yokogawa high speed data acquisition systems deliver industry leading isolation, bit resolution, sampling rate, and memory depth, with independent channel hardware and easy to use software.

Oscilloscopes

World-class digital oscilloscopes from Yokogawa: The digital oscilloscopes have high-speed sampling and a wide range of bandwidths that can be utilized for design and development of electronic devices. The ScopeCorders have the advantages of both a digital oscilloscope and a multi-channel data recorder.

ScopeCorders

A ScopeCorder is an instrument combining a mixed signal oscilloscope and portable data acquisition recorder into a modular platform designed to capture both high-speed transients and low-speed trends. Yokogawa’s ScopeCorder product family provides flexible and high-performance multi-channel test instruments by combining a variety of signal conditioning input modules, onboard calculations, and deep data acquisition storage into an off-the-shelf data acquisition solution.

 
Top