BoardConfig.SetDeviceId()

Sets the name that identifies the instance of a device.

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

Function Prototype

VB .NET

Public Function SetDeviceId(configVal As String, ByRef maxLen As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo SetDeviceId(string configVal, ref int maxLen)

Parameters

configVal

Sets the string that contains the name identifying a device.

maxLen

Specifies the maximum number of bytes to write, and returns the number of bytes that were actually written. For WLS Series devices, the string can contain up to 20 characters.

Returns