LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Analysis: Each independent variable must contain the same number of values as the dependent variable.

Hello, i am trying to perform HRV FFT analysis on ECG signal and i am getting that error message and the simulation stops, i cannot seem to figure out why can anybody help please? I have attached a screenshot of my analysis

 

Many thanks

0 Kudos
Message 1 of 3
(2,576 Views)

How many elements do you have in each of the arrays going into the FFT VI?

0 Kudos
Message 2 of 3
(2,550 Views)

There is no way to tell from an image of a block diagram, especially with the Express VIs where the configuration is not shown.

 

Does one of the Express VIs generate a shorter output array than its input array?

 

Do you get different numbers of peaks form the peak detectors?  There is certainly no guarantee that the calculated thresholds and default widths will find the same numbers of peaks. Depending on the types of ECG waveforms and the amount of noise, I would be surprised if both found the same numbers of peaks. Check the sizes of the Locations arrays.

 

Lynn

0 Kudos
Message 3 of 3
(2,548 Views)