Click or drag to resize

HardwareManagerInit Method (IConfigManager, IDHMHardwareItemsUsage)

Entry point to the Hardware API. This function initializes the DHM hardware. Call this function before any hardware interaction. The Lyncée Tec APIs Environment must have been started before. Note that when accessing real hardware items, this call can take some time to execute.

Namespace:  LynceeTec.API.Hardware
Assembly:  LynceeTec.API.Hardware (in LynceeTec.API.Hardware.dll) Version: 9.0.26418.0 , built 2021-10-22 08:54:13 UTC
Syntax
public static void Init(
	IConfigManager configManager,
	IDHMHardwareItemsUsage dhmHardwareItemsUsage
)

Parameters

configManager
Type: LynceeTec.InterfacesIConfigManager
Config manager reference returned by Start
dhmHardwareItemsUsage
Type: LynceeTec.InterfacesIDHMHardwareItemsUsage
HardwareItemUsage of each dhm item. The list of hardware elements must correspond to the DHM's hardware configuration.
Exceptions
ExceptionCondition
HardwareManagerAlreadyInitializedExceptionThrown if the hardware manager was already initialized because Init was already called before.
See Also