DavidGMarquez / Bitadroid

Android Application for recording signals from the Bitalino device
6 stars 7 forks source link

Problem opening signals with OpenSignals #16

Open DavidGMarquez opened 7 years ago

DavidGMarquez commented 7 years ago

Usually the new opensignals ask for the sampling frequency but sometimes it doesn't open the file.

Example this header is not valid:

JSON Text File Format

{"SamplingResolution": "10", "SampledChannels": [1, 2, 3, 4], "SamplingFrequency": "100", "ColumnLabels": ["signals/others/SeqN", "signals/others/Ind", "signals/AnalogInputs/Analog2/Signal2", "signals/AnalogInputs/Analog3/Signal3"], "AcquiringDevice": "20:16:02:26:59:04", "Version": "111", "StartDateTime": "Jan 18, 2017 12:16:46"}

EndOfHeader

While this yes

JSON Text File Format

{"SamplingResolution": "10", "SampledChannels": [1, 2, 3, 4], "SamplingFrequency": "100", "ColumnLabels": ["signals/others/SeqN", "signals/others/Ind", "signals/AnalogInputs/Analog2/Signal2", "signals/AnalogInputs/Analog3/Signal3"], "AcquiringDevice": "20:16:02:26:59:04", "Version": "111", "StartDateTime": "Jan 18, 2017 11:56:43 AM"}

EndOfHeader

The only difference is the time.