LabVIEW Biomedical Toolkit API Reference

Table of Contents

Biosignal Rate Extractor VI

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

Biosignal Rate Extractor VI

Owning Palette: Biosignal Preprocessing VIs

Requires: Biomedical Toolkit

Extracts the cycle of a spiky-type or pulse-type periodicity signal.

To determine the polymorphic instance to use, wire data to the biosignal input or manually select the instance.

Example

Biosignal Rate Extractor (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 to process.
high threshold specifies the high amplitude threshold for peak or valley detection. The default is 1.
low threshold specifies the low amplitude threshold for peak or valley detection. The default is 0.5.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
peaks/valleys specifies whether this VI detects peaks or valleys in the signal.

0peaks (default)
1valleys
number of cycles returns the number of peak cycles or valley cycles in the input biosignal.
mean cycle time returns the mean time (in seconds) between each cycle.mean cycle time returns -1 if this VI detects no cycles.
error out contains error information. This output provides standard error out functionality.

Biosignal Rate Extractor (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 to process.
high threshold specifies the high amplitude threshold for peak or valley detection. The default is 1.
low threshold specifies the low amplitude threshold for peak or valley detection. The default is 0.5.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
sampling rate specifies the sampling frequency of the input biosignal, in hertz. sampling rate must be greater than 0. The default is 1, which is the normalized sampling frequency.
peaks/valleys specifies whether this VI detects peaks or valleys in the signal.

0peaks (default)
1valleys
number of cycles returns the number of peak cycles or valley cycles in the input biosignal.
mean cycle time returns the mean time (in seconds) between each cycle.mean cycle time returns -1 if this VI detects no cycles.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the Detect Pulse Rate VI in the labview\examples\Biomedical\Biosignal directory for an example of using the Biosignal Rate Extractor VI.

Log in to get a better experience