Closed astraw closed 3 years ago
Here is an idea that @kukasyachka and I just discussed. We can save the Windows application version number in the CSV file as JSON-encoded metadata at the top in a comment (line starting with #
). This seems to open with no trouble in Excel, which is good. If the Windows application works with only a single firmware version, this would then specify both the firmward and Windows application version in the CSV file.
# {"miriam-version": "0.1.0"}
Time,U,M,Extra,Box,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,B1,B2,B3,B4,B5,B6,B7,B8,B9,B10,B11,B12,C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11,C12,D1,D2,D3,D4,D5,D6,D7,D8,D9,D10,D11,D12,E1,E2,E3,E4,E5,E6,E7,E8,E9,E10,E11,E12,F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12,G1,G2,G3,G4,G5,G6,G7,G8,G9,G10,G11,G12,H1,H2,H3,H4,H5,H6,H7,H8,H9,H10,H11,H12,
2020-11-20T12:12:29,61.91,61.55,59.09,46.98,415,570,480,377,38,548,695,748,700,875,1023,1023,700,556,518,208,341,410,438,503,336,351,502,920,348,482,358,350,357,32,203,345,198,539,511,1023,358,287,310,338,128,141,292,176,155,211,307,1023,50,18,379,225,297,29,229,188,216,165,366,654,100,16,94,16,69,52,203,307,446,356,460,986,75,19,71,165,33,29,96,185,62,340,367,370,115,64,20,196,190,266,197,25,20,101,164,20,
2020-11-20T12:13:30,63.80,63.41,59.60,46.86,422,538,414,315,24,451,548,603,553,675,885,1023,683,457,394,95,204,277,290,359,220,272,392,733,344,405,250,246,226,19,82,222,109,392,350,859,360,248,227,238,47,61,149,69,69,106,1023,1023,370,179,430,109,163,22,305,280,476,303,449,1023,282,193,251,105,49,72,106,209,300,231,363,811,832,444,346,262,141,220,180,185,218,433,598,1022,917,530,413,358,522,429,202,261,207,480,513,821,
2020-11-20T12:14:31,65.39,63.61,59.43,46.86,433,531,422,319,25,454,552,601,547,672,864,1023,695,464,415,101,204,287,300,375,234,285,406,725,353,414,273,275,246,21,111,250,132,414,366,847,379,265,255,266,80,90,186,103,97,126,1023,1023,316,134,383,97,199,21,268,268,477,295,410,1023,264,168,213,120,35,46,137,243,330,252,379,804,770,387,312,234,103,207,147,182,186,415,557,977,843,453,373,335,480,391,172,208,203,439,453,759,
This is has been done and we just made software release 2.0.0!
The Arduino firmware and the Windows application should each have version numbers. These should get saved to any output file and displayed in the GUI. The Windows application should check the Arduino firmware version is what it expects and raise an error otherwise. We should follow the SemVer 2.0 specification.