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
Syntaxpublic SignalReaderOpenResult ReadAllData(
string fileName,
out int channelCount,
out int samplingFrequency,
out double[][] samples,
out SignalReaderMarker[] markers
)
Public Function ReadAllData (
fileName As String,
<OutAttribute> ByRef channelCount As Integer,
<OutAttribute> ByRef samplingFrequency As Integer,
<OutAttribute> ByRef samples As Double()(),
<OutAttribute> ByRef markers As SignalReaderMarker()
) As SignalReaderOpenResult
public:
SignalReaderOpenResult ReadAllData(
String^ fileName,
[OutAttribute] int% channelCount,
[OutAttribute] int% samplingFrequency,
[OutAttribute] array<array<double>^>^% samples,
[OutAttribute] array<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:
SignalReaderOpenResultFile open result
See Also