Click or drag to resize

HardwareManagerInit Method (IConfigManager, IDHMHardwareItemsUsage, IProgressReporter)

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 and initialized 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: 10.1.23514.0 , built 2023-11-07 12:27:42 UTC
Syntax
public static void Init(
	IConfigManager configManager,
	IDHMHardwareItemsUsage dhmHardwareItemsUsage,
	IProgressReporter progressReporter
)

Parameters

configManager
Type: LynceeTec.InterfacesIConfigManager
Config manager reference returned by Start(String) or StartAndInit(String, SecureString, String)
dhmHardwareItemsUsage
Type: LynceeTec.InterfacesIDHMHardwareItemsUsage
HardwareItemUsage of each dhm item. The list of hardware elements must correspond to the DHM's hardware configuration.
progressReporter
Type: LynceeTec.InterfacesIProgressReporter
Provider for progress report of the hardware initialization. Can be null.
Exceptions
ExceptionCondition
HardwareManagerAlreadyInitializedExceptionThrown if the operation is invalide because the hardware manager was already initialized because Init was already called before.
NoUserLoggedInExceptionThrown if the operation is invalid because no user is logged in the Environment
EnvironmentNotInitializedExceptionThrown if the operation is invalid because the Environment hasn't been initialized
See Also