LabVIEW Biomedical Toolkit API Reference

Biosignal Acquisition Express VI

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

Owning Palette: Biosignal DAQ & Simulation Express VIs

Requires: Biomedical Toolkit

Configures NI-DAQmx tasks and acquires biosignals. You must have NI-DAQmx installed to use this VI.

Example

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs

Dialog Box Options

ParameterDescription
Device SettingsSpecifies the device that you use to acquire biosignals.
  • Device name—Specifies the name of the device that you use to acquire biosignals.
Time SettingsSpecifies time settings for data acquisition.
  • Acquisition mode—Specifies the data acquisition mode of the device that you select. You can use only the Continuous Samples mode.
  • Sampling rate—Specifies the sampling rate of the device that you select, in hertz. The default is 500.
  • Block size—Specifies the samples to read each time this VI runs, in seconds. The default is 0.03.
Channel SettingsSpecifies the settings for the NI-DAQmx channels.
  • Channel List—Lists information about the NI-DAQmx channels that you add.
  • Remove channel—Specifies to remove a channel.
  • Channel Information—Specifies information about the channel that you want to add to Channel List or displays the information about the channel that you select in Channel List.
    • Physical channel—Specifies the physical channel of the NI-DAQmx device for the channel that you want to add to Channel List or for the channel that you select in Channel List.
    • Name—Specifies the name of the channel you want to add or displays the name of the channel that you select in Channel List. If you add a channel with an empty name, this VI assigns a default name in the format of DeviceName_PhysicalChannelName, where DeviceName is the name of the device and PhysicalChannelName is the name of the physical channel. This option is not available when you select multiple channels in Physical Channel.
    • Sensor scaling—Specifies the type of sensor scaling that you want to apply to the channel that you want to add to the Channel List or to the channel that you select in Channel List.
    • Terminal configuration—Specifies the terminal configuration of the channel that you want to add to Channel List or the channel you select in Channel List. You can use only the Differential mode.
    • Input Range—Specifies the input range for the channel that you want to add to Channel List or the channel that you select in Channel List.
      • Max—Specifies the maximum input value of the channel.
      • Min—Specifies the minimum input value of the channel.
  • Add as New Channel—Adds a new channel with the settings you specify in Channel Information.
  • Update Selected Channel—Updates the selected channel with the settings you specify in Channel Information.
Trigger SettingsSpecifies the settings for the trigger.
  • Start Trigger Settings—Specifies the settings for the start trigger.
    • Trigger type—Specifies the type of the start trigger. You can select None or Digital Edge.
    • Trigger source—Specifies the device source of the start trigger. Trigger source is available only when you set Trigger type to Digital Edge.
    • Edge—Specifies the edge of the start trigger. Edge is available only when you set Trigger type to Digital Edge.

Block Diagram Inputs

ParameterDescription
error in (no error)Describes error conditions that occur before this node runs.
initialize?Specifies whether to initialize the process of acquiring biosignals. The default is FALSE.
physical channelsSpecifies the physical channel that you want to use for acquiring biosignals. physical channels must be equal to the number of channels that you configure in Channel Settings.
sampling rateSpecifies the sampling rate in samples per channel per second.
stop?Specifies whether to stop acquiring biosignals and release device resources when this VI completes execution. The default is FALSE.

Block Diagram Outputs

ParameterDescription
biosignalReturns the biosignal that this VI acquires.
error outContains error information. This output provides standard error out functionality.

Example

Refer to the Biosignal Logger VI in the labview\examples\Biomedical\Biosignal directory for an example of using the Biosignal Acquisition VI.

Log in to get a better experience