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: 7.3.77.25127 8_0_dev ee7cc19, built 2018-08-31 12:03:08 UTC
Syntax
public Task LoadSampleConfig(
	ISampleInfo sampleConfig,
	IProgress<int> progress
)

Parameters

sampleConfig
Type: LynceeTec.InterfacesISampleInfo
The sample configuration (from the Sample Info table in the database). Set to null to not load any configuration.
progress
Type: SystemIProgressInt32
Provider for progress update. Can be null.

Return Value

Type: Task

Implements

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