LabVIEW Biomedical Toolkit API Reference

Table of Contents

Biosignal RMS VI

  • Updated2023-02-21
  • 3 minute(s) read

Biosignal RMS VI

Owning Palette: Biosignal Preprocessing VIs

Requires: Biomedical Toolkit

Calculates the root mean square (RMS) value of a biosignal.

You must manually select the polymorphic instance to use.

Examples

Biosignal RMS (Waveform)

initialize? specifies whether to initialize the internal state of the VI. This VI performs calculations that are dependent on all previous data since the VI last ran or since you set initialize? to TRUE. When initialize? is TRUE, this VI restarts the calculation dependency. The default is FALSE.
biosignal specifies the biosignal for which this VI calculates the RMS value.
window info specifies the window information that this VI uses to calculate the RMS value.
time specifies the time, in seconds, of the sliding window. The default is 0.1. When you set time to 0 or less than 0, this VI sets the window time to the duration of the input biosignal when you call or initialize this VI for the first time.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
RMS value returns the RMS value of the biosignal.
error out contains error information. This output provides standard error out functionality.

Biosignal RMS (Array)

initialize? specifies whether to initialize the internal state of the VI. This VI performs calculations that are dependent on all previous data since the VI last ran or since you set initialize? to TRUE. When initialize? is TRUE, this VI restarts the calculation dependency. The default is FALSE.
biosignal specifies the biosignal for which this VI calculates the RMS value.
window info specifies the window information that this VI uses to calculate the RMS value.
length specifies the length, in number of samples, of the sliding window. The default is 100. When you set length to 0 or less than 0, this VI sets the window time to the size of the input biosignal when you call or initialize this VI for the first time.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
RMS value returns the RMS value of the biosignal.
error out contains error information. This output provides standard error out functionality.

Examples

Refer to the following VIs for examples of using the Biosignal RMS VI:

  • Biosignal Preprocessing Comparison VI: labview\examples\Biomedical\Biosignal
  • Biosignal Logger VI: labview\examples\Biomedical\Biosignal

Log in to get a better experience