LabVIEW Biomedical Toolkit API Reference

Biosignal Generation Express VI

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

Owning Palette: Biosignal DAQ & Simulation Express VIs

Requires: Biomedical Toolkit

Configures NI-DAQmx tasks and generates 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 generate biosignals.
  • Device name—Specifies the name of the device that you use to generate biosignals.
Time SettingsSpecifies time settings for data generation.
  • Generation mode—Specifies the data generation 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.
  • Use waveform timing?—Specifies whether to use the timing information (number of samples and sampling rate) contained in the biosignal you wire to the Express VI. The default is True.
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 RSE mode.
    • Output Range—Specifies the output 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 output value of the channel.
      • Min—Specifies the minimum output 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.

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 generating biosignals. The default is FALSE.
physical channelsSpecifies the physical channel that you want to use for generating 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 generating biosignals and release device resources when this VI completes execution. The default is FALSE.
biosignalSpecifies the biosignal that this VI generates.

Block Diagram Outputs

ParameterDescription
error outContains error information. This output provides standard error out functionality.

Example

Refer to the Biosignal Simulator and Generator VI in the labview\examples\Biomedical\Biosignal directory for an example of using the Biosignal Generation VI.