NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

AIChannelCollection.CreateTedsBridgeChannel Method (String, String, Double, Double, String, AIExcitationSource, Double)

  • Updated2023-02-21
  • 2 minute(s) read
AIChannelCollection.CreateTedsBridgeChannel Method (String, String, Double, Double, String, AIExcitationSource, Double)
Creates an AIChannel that measures a a Wheatstone bridge, with the specified custom scale. You must configure the physical channel(s) with TEDS information to use this method. Use this instance with bridge-based sensors that measure phenomena other than strain, force, pressure, or torque, or that scale data to physical units NI-DAQmx does not support. This method adds one or more physical channels to the AIChannelCollection.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302

Syntax

public AIChannel CreateTedsBridgeChannel(
	string physicalChannelName,
	string nameToAssignChannel,
	double minimumValue,
	double maximumValue,
	string customScaleName,
	AIExcitationSource voltageExcitationSource,
	double voltageExcitationValue
)
Public Function CreateTedsBridgeChannel ( 
	physicalChannelName As String,
	nameToAssignChannel As String,
	minimumValue As Double,
	maximumValue As Double,
	customScaleName As String,
	voltageExcitationSource As AIExcitationSource,
	voltageExcitationValue As Double
) As AIChannel

Parameters

physicalChannelName
Type: SystemString
The names of one or more physical channels to use to create one or more local virtual channels.
nameToAssignChannel
Type: SystemString
One or more names to assign to the created local virtual channels. To use the physical channel name as the local virtual channel name, set this value to Empty.
minimumValue
Type: SystemDouble
The minimum value you expect to measure, in custom scaled units.
maximumValue
Type: SystemDouble
The maximum value you expect to measure, in custom scaled units.
customScaleName
Type: SystemString
The name of the custom scale to apply to the local virtual channel.
voltageExcitationSource
Type: NationalInstruments.DAQmxAIExcitationSource
The source of excitation.
voltageExcitationValue
Type: SystemDouble
The amount of excitation in volts that the sensor requires.

Return Value

Type: AIChannel
The newly created AIChannel.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

The NI-DAQmx driver does not determine if the requested settings are possible until the task is verified. This method does not throw an exception for parameter values that are not compatible with your hardware or other settings in your task. To determine if all of the settings for a Task are valid, you must verify the task by starting the task, either with Start or by reading from or writing to the task, or by calling Control(TaskAction) with Verify.

See Also

Log in to get a better experience