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)

Data acquisition (DAQ) is the measurement, recording, analyzing, and presentation of real world phenomena. It includes electrical measurements such as voltage, current, power as well as measurements through sensors and transducers including temperature, pressure, strain, vibration, and more.

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

Capture, analyze, and troubleshoot electrical or real-world physical signals. Oscilloscopes observe the change of electrical signals over time, continuously graphed on a display as voltage or amplitude vs. time.

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