Is There a Method to Programatically Determine the Number of Valid Waveforms on DL Series Oscilloscopes?

Question:
If the DL9000 Oscilloscopes is in normal trigger mode and no waveform acquisitions have been made i.e. the scope has not triggered, a query to the instrument using the :Waveform:Record or :History:Record? Minimum it returns a 0 value and not an error. History waveform record number is referenced from 0 however, the instrument did not trigger so if the query command returns a 0 value there is a possibility that the waveform is not 'valid.' Is there a way to determine if the value returned from the query command :History:Record? Minimum is a vali waveform i.e. the instrument triggered and made a waveform acquisition?
 
Answer:
Yes, to determine whether or not the waveform is 'valid' or not, you will need to determine if the instrument has triggered. You will need to monitor the extended event registered. If no trigger has occurred, then we know that any previous waveforms are 'invalid' because no waveform was acquired.
 
The method for doing this is to monitor Bit 2 of the extended event register. Bit 2 (Awaiting Trigger) is set to logic 1 when the DL9000 is waiting for a trigger to occur. You will need to first set the Transition Filter to monitor Bit 2 to either RISE or FALL. RISE is when the specified bit of the condition register changes from 0 to 1. FALL is when the specified bit of the condition register changes from 1 to 0. The command to set the Transition Filter is for example, :STATUS:FILTER2 FALL, in which case transition filter 1 will detect changes in Bit 2 from 1 (DL9000 waiting for trigger) to 0 (trigger occurred). You will then need to query the status of the extended event register so that when a value is returned, you know the transition filter has detected a change in the specified bit.
 
In summary…
• :STATUS:FILTER3 FALL – Set transition filter to detect when trigger has occurred. This only has to be set once.
• :STATUS:EESR? – Query the status of the condition register. Once a value has been returned then the DL9000 has triggered and the previous waveforms are valid.
Please refer attached image taken from Page 6-5 of the DL9000 Communications Interface User’s Manual for an example definition of the extended event register.
 
Addtional Note:
This method is also valid for other Yokogawa DL series oscilloscopes and ScopeCorders, although some commands may differ.
 

Related Products & Solutions

DL7440/DL7480 Digital Oscilloscopes

8-channel 500 MHz oscilloscope with 16 logic inputs, for applications where four channels aren't enough.  Support for eight analog channels, 16 bits with 250MHz logic bandwidth, 16MP of recording memory, power analysis, serial bus analysis, and a broad selection of voltage and current probes.

DL9000 DSO Series

500MHz, 1.0GHz, and 1.5GHz DSOs for debug and high performance applications. 10th
generation oscilloscope from Yokogawa with industry leading 2.5 million wfms/sec and lowest dead time. Winner of Test & Measurement World's "Best in Test" award.

DLM2000 Mixed Signal Oscilloscopes

200, 350, and 500MHz mixed-signal oscilloscopes for every engineer. Best-in-class performance in usability, acquisition, analysis, and display—all at a price you can digest. Options include serial bus, vehicle bus, and power supply analysis functions.

DLM6000 MSO & DSO Series

500MHz, 1.0GHz, and 1.5GHz DSO and MSO models for debug, waveform characterization, bench top, or automated test applications. 4 channel models with 16 or 32 logic inputs. 12th generation oscilloscope with ergonomic physical and on-screen improvements.

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
  • Industry-leading isolation, bit resolution, sampling rate, and memory depth
  • Independent channel hardware and easy to use software

Mixed Signal Oscilloscopes

  • Yokogawa mixed signal oscilloscopes
  • Simultaneous, time correlated observations
  • Analysis of analog with digital (logic) signals
  • Troubleshooting electrical anomalies, measuring parametric values, monitoring signals

Oscilloscopes

  • Digital oscilloscopes
  • High-speed sampling
  • Range of bandwidths for electronic device design and development
  • Advantages of oscilloscope and multi-channel data recorder

ScopeCorders

  • Flexible, high-performance Yokogawa ScopeCorder
  • Modular platform combines mixed signal oscilloscope and portable data acquisition recorder 
  • Captures high-speed transients and low-speed trends 

 

Precision Making

Top