GetDeviceByName Method

Returns the Device in this chain with the given name, or null if none was found.

Type: Chain

Namespace: XJTAG.Integration.XJAnalyser

Syntax

public Device GetDeviceByName(string name)

Parameters

name

Type: string

The name of the Device to return.

Return Value

Device

The unique Device in the chain whose name contains the given string, or null if there was either more than one, or zero, device names containing the substring.

Remarks

Note that if there is more than one board in the project, the device's name will be in the format "BoardName.DeviceName".