NI-DCPower .NET fx45 API Reference

Table of Contents

NIDCPower Class

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

NIDCPower Class

Defines a root class that is used to identify and control the instrument session.

Inheritance Hierarchy

SystemObject
  NationalInstruments.ModularInstruments.NIDCPowerNIDCPower

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

  NameDescription
Public methodNIDCPower(IntPtr)
Creates a new instrument driver session from an existing instrument handle.
Public methodNIDCPower(String, Boolean, Boolean)
[IviDCPwr] Creates a new instrument driver session.
Public methodNIDCPower(String, Boolean, String)
Creates a new NI-DCPower session with independent channels to the specified instrument(s) and channel(s).
Public methodNIDCPower(String, String, Boolean)
[Deprecated] Creates a new instrument driver session and sets the initial state of session properties.
Public methodNIDCPower(String, Boolean, Boolean, String)
[IviDCPwr] Creates a new instrument driver session and sets the initial state of session properties.
Public methodNIDCPower(String, String, Boolean, String)
[Deprecated] Creates a new instrument driver session and sets the initial state of session properties.
Top

Properties

  NameDescription
Public propertyAdvanced
Gets the DCPowerAdvanced sub-object that provides advanced properties of NI-DCPower.
Public propertyCalibration
Gets the DCPowerCalibration sub-object that allows calibration of NI-DCPower.
Public propertyControl
Gets the DCPowerControl sub-object that provides methods to control the programming state of NI-DCPower.
Public propertyEvents
Gets the DCPowerEvents sub-object to configure NI-DCPower events.
Public propertyInstruments
Gets the DCPowerInstrumentCollection sub-object that represents a NI-DCPower channel.
Public propertyIsDisposed
Gets a value that indicates whether the session has been disposed.
Public propertyMeasurement
Gets the DCPowerMeasurement sub-object that represents properties related to all measurement unit channels in session.
Public propertyOutputs
Gets the DCPowerOutputCollection sub-object that represents a NI-DCPower channel.
Public propertySource
Gets the DCPowerSource sub-object that represents properties related to all source unit channels in session.
Public propertyTriggers
Gets the DCPowerTriggers sub-object that is used to configure NI-DCPower triggers.
Top

Methods

  NameDescription
Public methodClose
Closes the session to the instrument and deallocates the resources that NI-DCPower reserved.
Public methodDispose
Closes the specified session and deallocates the reserved resources, if not already disposed.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExportSignal(DCPowerSignalSource, String)
Routes trigger and event signals to the output terminal you specify. The route is created when the session is committed.
Public methodExportSignal(String, DCPowerSignalSource, String)
Routes trigger and event signals to the output terminal you specify. The route is created when the session is committed.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInstrumentHandle
Gets the SafeHandle to the NIDCPower instrument session.
Public methodGetService
Gets the service object of the specified type.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top

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.

See Also

Log in to get a better experience