This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Constant Initial Value Not Working On LabVIEW's Integration Function

Updated Sep 26, 2024

Reported In

Software

  • LabVIEW

Issue Details

I need to add an initial value in the integration function, but when I add a constant value doesn't make a difference

Solution

This behavior is expected because the integration function expects an initial value with the same properties as the input signal, in this example ( a sin(x) integration ) our initial value will need to include magnitude, phase and offset, ( values equal to zero in a constant value). So, to include an initial value, we need a value that contains the same components. Here you can see a code example for this particular case:
KB-P002.png

You can see in the next picture the difference in the magnitude, phase, and offset between the original signal, the integration, and the integration with an initial value:
KB-P001.png
 
 

Additional Information

The example in this document is base in the sin(x) function integration. As we know:
KB-P003.png
From that, we know the magnitude and phase
  • Magnitude
KB-P004.png
  • Phase
KB-P005.png
  • Offset
Screenshot_24.png

Considering that we will see a difference in the output magnitude, phase and offset (C), so, these components are really important in the integration, and use a constant (with phase zero won't provide enough information).