PhysicalChannel Class
- Updated2023-02-21
- 7 minute(s) read
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
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
| Name | Description | |
|---|---|---|
| AIInputSources | 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. | |
| AISupportedMeasurementTypes |
Gets the measurement types supported by the physical channels of the device.
| |
| AITerminalConfigurations | Indicates the list of input terminal configurations supported by the channel. | |
| AOManualControlAmplitude | Indicates the current value of the front panel amplitude control for the physical channel in volts. | |
| AOManualControlEnable | 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. | |
| AOManualControlFrequency | Indicates the current value of the front panel frequency control for the physical channel in hertz. | |
| AOManualControlShortDetected | Indicates whether the physical channel is currently disabled due to a short detected on the channel. | |
| AOPowerAmplifierChannelEnable | Specifies whether to enable or disable a channel for amplification. This property can also be used to check if a channel is enabled. | |
| AOPowerAmplifierGain | Indicates the calibrated gain of the channel. | |
| AOPowerAmplifierOffset | Indicates the calibrated offset of the channel in volts. | |
| AOPowerAmplifierOvercurrent | Indicates if the channel detected an overcurrent condition. | |
| AOPowerAmplifierScalingCoefficients | Indicates the coefficients of a polynomial equation used to scale from pre-amplified values. | |
| AOSupportedOutputTypes | Gets the generation types supported by the physical channels of the device.
| |
| AOTerminalConfigurations | Indicates the list of output terminal configurations supported by the channel. | |
| CISupportedMeasurementTypes | Gets the measurement types supported by the physical channels of the device.
| |
| COSupportedOutputTypes | Gets the generation types supported by the physical channels of the device
| |
| DIChangeDetectionSupported | Indicates if the change detection timing type is supported for the digital input physical channel. | |
| DIPortWidth | Indicates in bits the width of digital input port. | |
| DISampleClockSupported | Indicates if the sample clock timing type is supported for the digital input physical channel. | |
| DISampleModes | Gets the sample modes supported by the physical channels that support sample clocked digital input.
| |
| DOPortWidth | Indicates in bits the width of digital output port. | |
| DOSampleClockSupported | Indicates if the sample clock timing type is supported for the digital output physical channel. | |
| DOSampleModes | Gets the sample modes supported by physical channels that support sample clocked digital output.
| |
| PhysicalChannelName | Gets the name of the physical channel. | |
| PowerControlEnable | Specifies whether to turn on the sensor's power supply. | |
| PowerControlType | Specifies the type of power supplied to the sensor. | |
| PowerControlVoltage | Specifies the voltage level for the sensor's power supply. | |
| SensorPowerOpenChannel | Indicates whether there is an open channel or undercurrent condition on the channel. | |
| SensorPowerOvercurrent | Indicates whether there is an overcurrent condition on the channel. | |
| SensorPowerTypes | Indicates the types of power supplied to the sensor supported by this channel. | |
| SensorPowerVoltageRangeValues | Indicates pairs of sensor power voltage ranges supported by this channel. Each pair consists of the low value followed by the high value. | |
| TedsBitStream | Indicates the TEDS binary bitstream without checksums. | |
| TedsManufacturerID | Indicates the manufacturer ID of the sensor. | |
| TedsModelNumber | Indicates the model number of the sensor. | |
| TedsSerialNumber | Indicates the serial number of the sensor. | |
| TedsTemplateIDs | Indicates the IDs of the templates in the bitstream in TedsBitStream. | |
| TedsVersionLetter | Indicates the version letter of the sensor. | |
| TedsVersionNumber | Indicates the version number of the sensor. |
Methods
| Name | Description | |
|---|---|---|
| ClearTeds | Removes TEDS information from the physical channel you specify. | |
| ConfigureTeds | Associates TEDS information with the physical channel you specify, using a TEDS sensor connected to the physical channel. | |
| ConfigureTeds(String) | Associates TEDS information with the physical channel you specify. | |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Dispose | Releases all resources used by PhysicalChannel. | |
| Dispose(Boolean) |
Releases the managed and unmanaged resources used by PhysicalChannel or optionally releases only the unmanaged resources.
| |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| ToString | Returns a string representation of the object. (Overrides ObjectToString.) | |
| WriteTedsData(Byte, BasicTedsDataOption) | Write TEDS data from a Byte array to a sensor on the physical channel you specify. | |
| WriteTedsData(String, BasicTedsDataOption) | Write TEDS data from a virtual TEDS file to a sensor on the physical channel you specify. |
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.
| 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.