Error -20308 When Running Pulse Measurements VI in LabVIEW™

Updated Jul 31, 2026

Reported In

Software

  • LabVIEW

Issue Details

I am receiving the following error message when I use the Pulse Measurements VI in LabVIEW:

Error -20308 occurred at "NI_MAPro.lvlib:Pulse Measurements 1 chan.vi:3740004" when called from "NI_MAPro.lvlib:Pulse Measurements N chan.vi:1870003" (waveform index 0 of 1)

Possible reasons:

Analysis: (Hex 0xFFFFB0AC) The waveform did not cross the mid reference level enough times to perform this measurement. Check the signal length, reference levels, and ref level units.

 


This error appears when I run the VI, and the measurement does not complete as expected.
 

Solution

This error can occur when the VI attempts to calculate measurements that require a periodic signal, such as period and duty cycle, but the input signal does not meet these conditions.
 
To avoid this error, configure the measurement settings as follows:
 
  1. Locate the export mode input of Pulse Measurements.vi.
  2. Set the export mode to no period and duty cycle, as shown in the screenshot below.
  3. Run the VI again and verify that the error no longer occurs.

 


 

Additional Information

This error occurs when the input signal is non-periodic and does not cross the mid reference level the required number of times, such as the signal below:

 


By default, the Pulse Measurements VI attempts to calculate parameters such as period and duty cycle, which require a periodic waveform. If the signal does not meet these requirements, the VI returns the error.