Click or drag to resize
DHMDeviceBaseLoadConfig Method (Int32, Int32, IProgressInt32)
Loads a configuration and sets the hardware parameters accordingly. Can only be called after initialization is done. Asynchronous function.

Namespace: LynceeTec.DHM
Assembly: LynceeTec.DHM (in LynceeTec.DHM.dll) Version: 6.4.0.7 6_4_dev 3998a02, built 2016-11-07 15:44:26 UTC
Syntax
public Task LoadConfig(
	int configId,
	int sampleId,
	IProgress<int> progress
)

Parameters

configId
Type: SystemInt32
The id of the configuration (from the Production Table in the database).
sampleId
Type: SystemInt32
The id of the sample configuration (from the Sample Table in the database). Set to negative value to not load any configuration.
progress
Type: SystemIProgressInt32
Provider for progress update. Can be null.

Return Value

Type: Task

Implements

IDHMDeviceLoadConfig(Int32, Int32, IProgressInt32)
Exceptions
ExceptionCondition
DHMConfigExceptionThrown if the device is not initialized or if the sample configuration cannot be loaded.
See Also