NI-DCPower .NET fx40 API Reference

Table of Contents

NIDCPower Constructor (String, String, Boolean)

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

NIDCPower Constructor (String, String, Boolean)

[Deprecated] 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,
	string channelString,
	bool resetDevice
)
Public Sub New ( 
	resourceName As String,
	channelString As String,
	resetDevice As Boolean
)

Parameters

resourceName
Type: SystemString
Specifies the name of the device in which the session is opened.
channelString
Type: SystemString
Specifies the output channels to be activated in this session.
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 .

Remarks

Note Note
This constructor is deprecated. Use the NIDCPower(String, Boolean, String) constructor instead.

See Also

Log in to get a better experience