Click or drag to resize

IDHMDeviceLoadConfig Method (IDHMConfiguration, DictionaryMotorizedDevicesType, Single, IProgressReporter)

Loads a configuration and sets the hardware parameters accordingly. Can only be called after initialization is done Asynchronous function.

Namespace:  LynceeTec.Interfaces
Assembly:  LynceeTec.Interfaces (in LynceeTec.Interfaces.dll) Version: 9.2.6612.0 , built 2022-07-14 10:39:33 UTC
Syntax
Task LoadConfig(
	IDHMConfiguration dhmConfig,
	Dictionary<MotorizedDevicesType, float> motorOffset,
	IProgressReporter progress
)

Parameters

dhmConfig
Type: LynceeTec.InterfacesIDHMConfiguration
The dhm configuration (from the Measurement Config table in the database).
motorOffset
Type: System.Collections.GenericDictionaryMotorizedDevicesType, Single
The offset for each motor. (Used for OPL compensation).
progress
Type: LynceeTec.InterfacesIProgressReporter
Provider for progress update. Can be null.

Return Value

Type: Task
See Also