NIDCPower Class
- Updated2024-01-04
- 5 minute(s) read

NIDCPower Class
Defines a root class that is used to identify and control the instrument session.
Inheritance Hierarchy
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx45 (in NationalInstruments.ModularInstruments.NIDCPower.Fx45.dll) Version: 2023
Syntax
public sealed class NIDCPower : IIviDCPwr, IIviDriver, IServiceProvider, IDisposable
Public NotInheritable Class NIDCPower Implements IIviDCPwr, IIviDriver, IServiceProvider, IDisposable
The NIDCPower type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | NIDCPower(IntPtr) |
Creates a new instrument driver session from an existing instrument handle.
|
![]() | NIDCPower(String, Boolean, Boolean) |
[IviDCPwr] Creates a new instrument driver session.
|
![]() | NIDCPower(String, Boolean, String) |
Creates a new NI-DCPower session with independent channels to the specified instrument(s) and channel(s).
|
![]() | NIDCPower(String, String, Boolean) |
[Deprecated] Creates a new instrument driver session and sets the initial state of session properties.
|
![]() | NIDCPower(String, Boolean, Boolean, String) |
[IviDCPwr] Creates a new instrument driver session and sets the initial state of session properties.
|
![]() | NIDCPower(String, String, Boolean, String) |
[Deprecated] Creates a new instrument driver session and sets the initial state of session properties.
|
Properties
Name | Description | |
---|---|---|
![]() | Advanced |
Gets the DCPowerAdvanced sub-object that provides advanced properties of NI-DCPower.
|
![]() | Calibration |
Gets the DCPowerCalibration sub-object that allows calibration of NI-DCPower.
|
![]() | Control |
Gets the DCPowerControl sub-object that provides methods to control the programming state of NI-DCPower.
|
![]() | Events |
Gets the DCPowerEvents sub-object to configure NI-DCPower events.
|
![]() | Instruments |
Gets the DCPowerInstrumentCollection sub-object that represents a NI-DCPower channel.
|
![]() | IsDisposed |
Gets a value that indicates whether the session has been disposed.
|
![]() | Measurement |
Gets the DCPowerMeasurement sub-object that represents properties related to all measurement unit channels in session.
|
![]() | Outputs |
Gets the DCPowerOutputCollection sub-object that represents a NI-DCPower channel.
|
![]() | Source |
Gets the DCPowerSource sub-object that represents properties related to all source unit channels in session.
|
![]() | Triggers |
Gets the DCPowerTriggers sub-object that is used to configure NI-DCPower triggers.
|
Methods
Name | Description | |
---|---|---|
![]() | Close |
Closes the session to the instrument and deallocates the resources that NI-DCPower reserved.
|
![]() | Dispose |
Closes the specified session and deallocates the reserved resources, if not already disposed.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | ExportSignal(DCPowerSignalSource, String) |
Routes trigger and event signals to the output terminal you specify. The route is created when the session is committed.
|
![]() | ExportSignal(String, DCPowerSignalSource, String) |
Routes trigger and event signals to the output terminal you specify. The route is created when the session is committed.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetInstrumentHandle |
Gets the SafeHandle to the NIDCPower instrument session.
|
![]() | GetService |
Gets the service object of the specified type.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
All properties, methods, and events fall under either the NIDCPower
class or are the sub-objects of this class.
To interact with the NI-DCPower, you must create an instance of this class.
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.