To create a time histogram, you must use attributes/properties and follow these general steps:

  1. Set the size of the histogram using the Time Histogram Size property or the NISCOPE_ATTR_MEAS_TIME_HISTOGRAM_SIZE attribute. The default size is 256 bins. The more bins used, the greater the histogram resolution.
  2. Time limits determine the temporal window. Set the time limits for the histogram using the Time Histogram Low Time property or the NISCOPE_ATTR_MEAS_TIME_HISTOGRAM_LOW_TIME attribute. for the beginning time. Use the Time Histogram High Time property or the NISCOPE_ATTR_MEAS_TIME_HISTOGRAM_HIGH_TIME attribute for the ending time. Set these values during the first measurement after the histogram history is cleared.
  3. Histogram voltage limits determine the vertical window. Set the voltage limits for the acquisition using the Time Histogram Low Volts property or the NISCOPE_ATTR_MEAS_TIME_HISTOGRAM_LOW_VOLTSattribute and the Time Histogram High Volts property or the NISCOPE_ATTR_MEAS_TIME_HISTOGRAM_HIGH_VOLTS attribute. These values can change every acquisition.
    Note    Together the time and voltage limits determine the discriminators for the histogram.
  4. Call the niScope Clear Waveform Measurement Stats VI or the niScope_ClearWaveformMeasurementStats function to erase the histogram history between acquisitions.

Time Histogram Example (LabVIEW Only)

Refer to the niScope EX Time Histogram.vi example for sample code you can use to create your own application.