Gets or sets whether the PPMU sources DC voltage or DC current.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDigital

public PpmuOutputFunction OutputFunction { get; set; }

Remarks

This property is only applicable if the SelectedFunction of the pin set is set to Ppmu.

Changing this property does not take effect until you call Source. You must call Source to commit your changes even if the PPMU is already sourcing.

Returns

The output of the PPMU as either DC voltage or DC current. The default value is DCVoltage.

Exceptions

TypeDescription
Ivi.Driver.SelectorNameException

An instance of DigitalPinSet references a pin or pin group name not loaded in the pin map.

Ivi.Driver.OutOfRangeException

The value for OutputFunction is invalid.