Click or drag to resize

DHMDeviceBaseLoadSampleConfig Method

Loads the sample configuration. Can only be called after initialization is done. Asynchronous function.

Namespace:  LynceeTec.DHM
Assembly:  LynceeTec.DHM (in LynceeTec.DHM.dll) Version: 8.1.17212.0 8_1_dev af417e8, built 2019-10-03 13:47:41 UTC
Syntax
public Task LoadSampleConfig(
	ISampleInfo sampleConfig,
	IProgressReporter progress
)

Parameters

sampleConfig
Type: LynceeTec.InterfacesISampleInfo
The sample configuration (from the Sample Info table in the database). Cannot be null, because there is always a default sample configuration.
progress
Type: LynceeTec.InterfacesIProgressReporter
Provider for progress update. Can be null.

Return Value

Type: Task

Implements

IDHMDeviceLoadSampleConfig(ISampleInfo, IProgressReporter)
Exceptions
ExceptionCondition
DHMConfigExceptionThrown when the device is not initialized
See Also