[IviDCPwr] Creates a new instrument driver session.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public NIDCPower(string resourceName, bool idQuery, bool resetDevice)

Remarks

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 Ivi.DCPwr.IviDCPwr class interfaces, call one of the Ivi.DCPwr.IviDCPwr.Create 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.  

Parameters

NameTypeDescription
resourceNamestring

Specifies the name of the device in which the session is opened.

idQuerybool

Specifies whether you want NI-DCPower to perform an ID query. If NI-DCPower performs an ID query, then value of idQuery is true; otherwise false.

resetDevicebool

Specifies whether you want to reset NI-DCPower device during the initialization procedure. If the device is reset, then value of resetDevice is true ; otherwise false.