Click or drag to resize

SignalReaderReadAllData Method

LightningChart .NET Help
Read all data from file. The output is a multi-channel samples array, and array of markers.

Namespace:  Arction.WinForms.SignalProcessing
Assembly:  Arction.WinForms.SignalProcessing.SignalTools (in Arction.WinForms.SignalProcessing.SignalTools.dll) Version: 10.3.1
Syntax
public SignalReaderOpenResult ReadAllData(
	string fileName,
	out int channelCount,
	out int samplingFrequency,
	out double[][] samples,
	out SignalReaderMarker[] markers
)

Parameters

fileName
Type: SystemString
Signal file name. The file extension must be a supported one: wav, sid or ssd
channelCount
Type: SystemInt32
Channel count
samplingFrequency
Type: SystemInt32
Sampling frequency in Hz
samples
Type: SystemDouble
Multi-channel samples array. First dimension is the channels, second dimension is samples. For example, samples[2][9] gives access to 10th sample of 3rd channel.
markers
Type: Arction.WinForms.SignalProcessingSignalReaderMarker
Array of markers. Null if none was found.

Return Value

Type: SignalReaderOpenResult
File open result
See Also