NI-DAQmx .NET Framework 4.0 API Reference

DIChannel.Tristate Property

  • Updated2023-02-21
  • 1 minute(s) read
DIChannel.Tristate Property
Specifies whether to tristate the lines in the channel. If you set this property to , NI-DAQmx tristates the lines in the channel. If you set this property to , NI-DAQmx does not modify the configuration of the lines even if the lines were previously tristated. Set this property to to read lines in other tasks or to read output-only lines.

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

Syntax

public bool Tristate { get; set; }
Public Property Tristate As Boolean
	Get
	Set

Property Value

Type: Boolean
Specifies whether to tristate the lines in the channel. If you set this property to , NI-DAQmx tristates the lines in the channel. If you set this property to , NI-DAQmx does not modify the configuration of the lines even if the lines were previously tristated. Set this property to to read lines in other tasks or to read output-only lines.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also

Log in to get a better experience