Archived:Error -20003 When Using a DAQExpress

Updated Jan 21, 2025

NI does not actively maintain this document.

This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.

Reported In

Software

  • DAQExpress

Issue Details

I am getting an error -20003 occurred at Mean(DBL).gvi when using AC/DC RMS.gvi in DAQExpress.

Analysis: (Hex 0xFFFFB1DD) The number of samples must be > 0.

image.png

Solution

Ensure that the input parameter for the Mean(DBL).gvi function is greater than 0. If the input parameter is equal to 0, it means the input parameter for the AC/DC RMS function is empty. It's crucial to use debugging tools to examine each function and identify the point at which the data becomes 0.
 
Mean(DBL).gvi is located in AC/DC RMS.gvi's diagram. Follow these steps to find the .gvi.
  • Right-click on the AC/DC RMS.gvi and choose Open >> Diagram.
  • After opening the diagram double-click on the gvi to open the main code inside it.
Double-check that the input data matches the required data for AC/DC RMS.gvi.