Table of Contents

Class DacController

Namespace
System.Device.Dac
Assembly
System.Device.Dac.dll

Represents an DAC controller on the system

public sealed class DacController
Inheritance
DacController
Inherited Members
Extension Methods

Properties

ChannelCount

The number of channels available on the ADC controller.

public int ChannelCount { get; }

Property Value

int

Number of channels.

ResolutionInBits

Gets the resolution of the controller as number of bits it has. For example, if we have a 10-bit DAC, that means it can detect 1024 (2^10) discrete levels.

public int ResolutionInBits { get; }

Property Value

int

The number of bits the DAC controller has.

Methods

GetDefault()

Gets the default DAC controller on the system.

public static DacController GetDefault()

Returns

DacController

The default DAC controller on the system, or null if the system has no DAC controller.

GetDeviceSelector()

Retrieves an string of all the DAC controllers on the system.

public static string GetDeviceSelector()

Returns

string

OpenChannel(int)

Opens a connection to the specified DAC channel.

public DacChannel OpenChannel(int channelNumber)

Parameters

channelNumber int

The channel to connect to.

Returns

DacChannel

The DAC channel.