NI-DAQmx .NET Framework 4.0 API Reference

PhysicalChannel Class

  • Updated2023-02-21
  • 7 minute(s) read
PhysicalChannel Class
Encapsulates one or more channels on an NI-DAQmx device and contains functions and properties that operate on the channel outside the context of a task.

Inheritance Hierarchy

SystemObject
  SystemMarshalByRefObject
    NationalInstruments.DAQmxPhysicalChannel

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

Syntax

public class PhysicalChannel : MarshalByRefObject, 
	IDisposable
Public Class PhysicalChannel
	Inherits MarshalByRefObject
	Implements IDisposable

The PhysicalChannel type exposes the following members.

Properties

  NameDescription
Public propertyAIInputSources
Indicates the list of input sources supported by the channel. Channels may support using the signal from the I/O connector or one of several calibration signals.
Public propertyAISupportedMeasurementTypes
Gets the measurement types supported by the physical channels of the device.
Public propertyAITerminalConfigurations
Indicates the list of input terminal configurations supported by the channel.
Public propertyAOManualControlAmplitude
Indicates the current value of the front panel amplitude control for the physical channel in volts.
Public propertyAOManualControlEnable
Specifies if you can control the physical channel externally via a manual control located on the device. You cannot simultaneously control a channel manually and with NI-DAQmx.
Public propertyAOManualControlFrequency
Indicates the current value of the front panel frequency control for the physical channel in hertz.
Public propertyAOManualControlShortDetected
Indicates whether the physical channel is currently disabled due to a short detected on the channel.
Public propertyAOPowerAmplifierChannelEnable
Specifies whether to enable or disable a channel for amplification. This property can also be used to check if a channel is enabled.
Public propertyAOPowerAmplifierGain
Indicates the calibrated gain of the channel.
Public propertyAOPowerAmplifierOffset
Indicates the calibrated offset of the channel in volts.
Public propertyAOPowerAmplifierOvercurrent
Indicates if the channel detected an overcurrent condition.
Public propertyAOPowerAmplifierScalingCoefficients
Indicates the coefficients of a polynomial equation used to scale from pre-amplified values.
Public propertyAOSupportedOutputTypes
Gets the generation types supported by the physical channels of the device.
Public propertyAOTerminalConfigurations
Indicates the list of output terminal configurations supported by the channel.
Public propertyCISupportedMeasurementTypes
Gets the measurement types supported by the physical channels of the device.
Public propertyCOSupportedOutputTypes
Gets the generation types supported by the physical channels of the device
Public propertyDIChangeDetectionSupported
Indicates if the change detection timing type is supported for the digital input physical channel.
Public propertyDIPortWidth
Indicates in bits the width of digital input port.
Public propertyDISampleClockSupported
Indicates if the sample clock timing type is supported for the digital input physical channel.
Public propertyDISampleModes
Gets the sample modes supported by the physical channels that support sample clocked digital input.
Public propertyDOPortWidth
Indicates in bits the width of digital output port.
Public propertyDOSampleClockSupported
Indicates if the sample clock timing type is supported for the digital output physical channel.
Public propertyDOSampleModes
Gets the sample modes supported by physical channels that support sample clocked digital output.
Public propertyPhysicalChannelName
Public propertyPowerControlEnable
Specifies whether to turn on the sensor's power supply.
Public propertyPowerControlType
Specifies the type of power supplied to the sensor.
Public propertyPowerControlVoltage
Specifies the voltage level for the sensor's power supply.
Public propertySensorPowerOpenChannel
Indicates whether there is an open channel or undercurrent condition on the channel.
Public propertySensorPowerOvercurrent
Indicates whether there is an overcurrent condition on the channel.
Public propertySensorPowerTypes
Indicates the types of power supplied to the sensor supported by this channel.
Public propertySensorPowerVoltageRangeValues
Indicates pairs of sensor power voltage ranges supported by this channel. Each pair consists of the low value followed by the high value.
Public propertyTedsBitStream
Indicates the TEDS binary bitstream without checksums.
Public propertyTedsManufacturerID
Indicates the manufacturer ID of the sensor.
Public propertyTedsModelNumber
Indicates the model number of the sensor.
Public propertyTedsSerialNumber
Indicates the serial number of the sensor.
Public propertyTedsTemplateIDs
Indicates the IDs of the templates in the bitstream in TedsBitStream.
Public propertyTedsVersionLetter
Indicates the version letter of the sensor.
Public propertyTedsVersionNumber
Indicates the version number of the sensor.
Top

Methods

  NameDescription
Public methodClearTeds
Removes TEDS information from the physical channel you specify.
Public methodConfigureTeds
Associates TEDS information with the physical channel you specify, using a TEDS sensor connected to the physical channel.
Public methodConfigureTeds(String)
Associates TEDS information with the physical channel you specify.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by PhysicalChannel.
Protected methodDispose(Boolean)
Releases the managed and unmanaged resources used by PhysicalChannel or optionally releases only the unmanaged resources.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodToString
Returns a string representation of the object.
(Overrides ObjectToString.)
Public methodWriteTedsData(Byte, BasicTedsDataOption)
Write TEDS data from a Byte array to a sensor on the physical channel you specify.
Public methodWriteTedsData(String, BasicTedsDataOption)
Write TEDS data from a virtual TEDS file to a sensor on the physical channel you specify.
Top

Remarks

Use the LoadPhysicalChannel(String) method on the Local instance of DaqSystem to create an instance of this class for a physical channel on your system.
Tip Tip
Example applications are located in the Public Documents\National Instruments\NI-DAQ\Examples\DotNET4.x directory or in the Start menu at National InstrumentsNI-DAQmxNI-DAQmx Examples.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Log in to get a better experience