BoardConfig.SetDACUpdateMode()

Sets the update mode for a digital-to-analog converter (DAC).

Member of the cBoardConfig class. Accessible from the MccBoard.BoardConfig property.

Function Prototype

VB .NET

Public Function SetDACUpdateMode(ByVal devNum as Integer, ByVal configVal As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo SetDACUpdateMode(int devNum, int configVal)

Parameters

devNum

Number of the channel whose update mode you want set.

configVal

When set to 0, the DAC update mode is immediate. Values written with AOut() or AOutScan() are automatically output by the DAC channels.

When set to 1, the DAC update mode is on command. Values written with AOut() or AOutScan() are not output by the DAC channel(s) until a DACUpdate() method call is made.

Returns