BoardConfig.GetDACUpdateMode() method
Returns 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 GetDACUpdateMode(ByVal configVal As Integer) As MccDaq.ErrorInfo
C# .NET
public MccDaq.ErrorInfo GetDACUpdateMode(out int configVal)
Parameters
configVal
Returns a number indicating the DAC update mode (0 = immediate, 1 = on command).
Returns
- An ErrorInfo object that indicates the status of the operation.
- configVal - If configVal returns 0, the DAC update mode is immediate. Values written with AOut() or AOutScan() are automatically output by the DAC channels.
- If configVal returns 1, the DAC update mode is set to on command. Values written with AOut() or AOutScan() are not output by the DAC channels until a DACUpdate() method call is made.