NIDCPower Constructor (String, Boolean, Boolean, String)
- Updated2024-01-04
- 2 minute(s) read

NIDCPower Constructor (String, Boolean, Boolean, String)
[IviDCPwr] Creates a new instrument driver session and sets the initial state of session properties.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx40 (in NationalInstruments.ModularInstruments.NIDCPower.Fx40.dll) Version: 2023
Syntax
public NIDCPower( string resourceName, bool idQuery, bool resetDevice, string optionString )
Public Sub New ( resourceName As String, idQuery As Boolean, resetDevice As Boolean, optionString As String )
Parameters
- resourceName
- Type: SystemString
Specifies the name of the device in which the session is opened. - idQuery
- Type: SystemBoolean
Specifies whether you want NI-DCPower to perform an ID query. If NI-DCPower performs an ID query, then value of idQuery is ; otherwise . - resetDevice
- Type: SystemBoolean
Specifies whether you want to reset NI-DCPower during the initialization procedure. If the device is reset, then value of resetDevice is ; otherwise . - optionString
- Type: SystemString
Sets the initial state of the following session properties: RangeCheck, QueryInstrumentStatus, Cache, Simulate.
Remarks
![]() |
---|
This constructor is intended for use only through the IVI.NET interface. National Instruments recommends that you do not call this constructor directly. Instead, you can use one of the following methods: |