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.0.26418.0 , built 2021-10-22 08:45:14 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