NI-DCPower .NET fx40 API Reference

Table of Contents

NIDCPower Constructor (String, Boolean, Boolean)

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

NIDCPower Constructor (String, Boolean, Boolean)

[IviDCPwr] Creates a new instrument driver session.

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
)
Public Sub New ( 
	resourceName As String,
	idQuery As Boolean,
	resetDevice As Boolean
)

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 device during the initialization procedure. If the device is reset, then value of resetDevice is ; otherwise .

Remarks

Note Note
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:
  • If you intend to access this driver through the IviDCPwr class interfaces, call one of the Create(String) method to construct the NIDCPower class.
  • If you intend to access this driver through the NIDCPower class, use a constructor that accepts a channelString parameter.

See Also

Log in to get a better experience