Ok... Rewritten the whole "append routine" thingy... got it just peachy now...
Here are data samples of what I get out of it:
- Before Scan starts (Just been cleared)
{"labels":[null],"series":["GHz","S1","S2","S3","S4","S5","S6","S7"],"data":[[null],[null],[null],[null],[null],[null],[null],[null]]}
2)During the scan, before the first pass is complete
{"labels":[null,102.51,102.52,102.53,102.54,102.55,102.56,102.57,102.58,102.59,102.6,102.61,102.62,102.63,102.64,102.65,102.66,102.67,102.68],"series":["GHz","S1","S2","S3","S4","S5","S6","S7"],"data":[[null,0.10251,0.10252,0.10253,0.10254,0.10255,0.10256,0.10257,0.10258,0.10259,0.1026,0.10260999999999999,0.10262,0.10263,0.10264,0.10265,0.10266,0.10267,0.10268000000000001],[null,1.3,0.8,1.3,1.3,1.8,3.1,3.1,2.7,3.3,3.4,3.4,3.8,3.8,3.8,3.6,3.6,3.8,4.2],[null],[null],[null],[null],[null],[null]]}
3)First scan complete, starting the second:
{"labels":[null,102.51,102.52,102.53,102.54,102.55,102.56,102.57,102.58,102.59,102.6,102.61,102.62,102.63,102.64,102.65,102.66,102.67,102.68,102.69,102.7,102.71,102.72,102.73,102.74,102.75,102.76,102.77,102.78,102.79,102.8,102.81,102.82,102.83,102.84,102.85,102.86,102.87,102.88,102.89,102.9,102.91,102.92,102.93,102.94,102.95,102.96,102.97,102.98,102.99,103,103.01,103.02,103.03,103.04,103.05,103.06,103.07,103.08,103.09,103.1,103.11,103.12,103.13,103.14,103.15,103.16,103.17,103.18,103.19,103.2,103.21,103.22,103.23,103.24,103.25,103.26,103.27,103.28,103.29,103.3,103.31,103.32,103.33,103.34,103.35,103.36,103.37,103.38,103.39,103.4,103.41,103.42,103.43,103.44,103.45,103.46,103.47,103.48,103.49,103.5],"series":["GHz","S1","S2","S3","S4","S5","S6","S7"],"data":[[null,0.10251,0.10252,0.10253,0.10254,0.10255,0.10256,0.10257,0.10258,0.10259,0.1026,0.10260999999999999,0.10262,0.10263,0.10264,0.10265,0.10266,0.10267,0.10268000000000001,0.10269,0.1027,0.10271,0.10272,0.10273,0.10274,0.10275,0.10276,0.10277,0.10278,0.10279,0.1028,0.10281,0.10282,0.10283,0.10284,0.10285,0.10286,0.10287,0.10288,0.10289,0.1029,0.10291,0.10292,0.10293000000000001,0.10294,0.10295,0.10296,0.10296999999999999,0.10298,0.10299,0.103,0.10301,0.10302,0.10303,0.10304,0.10305,0.10306,0.10307,0.10308,0.10309,0.1031,0.10311,0.10312,0.10313,0.10314,0.10315,0.10316,0.10317,0.10318000000000001,0.10319,0.1032,0.10321,0.10321999999999999,0.10323,0.10324,0.10325,0.10326,0.10327,0.10328,0.10329,0.1033,0.10331,0.10332,0.10333,0.10334,0.10335,0.10336,0.10337,0.10338,0.10339,0.1034,0.10341,0.10342,0.10343000000000001,0.10344,0.10345,0.10346,0.10346999999999999,0.10348,0.10349,0.1035],[null,1.3,0.8,1.3,1.3,1.8,3.1,3.1,2.7,3.3,3.4,3.4,3.8,3.8,3.8,3.6,3.6,3.8,4.2,4.2,3.6,3.4,4,4.2,3.4,3.4,3.6,3.8,4,4.2,5.4,4.7,4.8,6.2,6.5,6.3,6.6,6.8,7.2,7.4,7.6,7.6,7.8,7.9,7.8,7.9,7.8,7.6,7.6,7.8,7.8,7.8,7.9,7.9,7.8,7.8,7.8,7.6,7.6,7.6,7.4,7.4,7.4,7.3,6.7,6.6,6.4,5.9,6,5.4,5.3,3.6,2.7,4,2.7,0,0,0,0,0,0,0,0,0,0,0,1.8,1.8,2.2,3.1,3.3,3.3,3.3,3.4,3.4,3.3,3.6,3.6,3.6,3.4,3.4],[null,3.4,0.8,1.3,1.8,1.8,2.7,2.2,2.7,3.1,3.1,3.4,3.6,4,3.8,3.6,3.8,3.8,3.8,4,3.8,4,3.8,3.6],[null],[null],[null],[null],[null]]}
4)Third and final scan done, this could be up to seven scans though:
{"labels":[null,102.51,102.52,102.53,102.54,102.55,102.56,102.57,102.58,102.59,102.6,102.61,102.62,102.63,102.64,102.65,102.66,102.67,102.68,102.69,102.7,102.71,102.72,102.73,102.74,102.75,102.76,102.77,102.78,102.79,102.8,102.81,102.82,102.83,102.84,102.85,102.86,102.87,102.88,102.89,102.9,102.91,102.92,102.93,102.94,102.95,102.96,102.97,102.98,102.99,103,103.01,103.02,103.03,103.04,103.05,103.06,103.07,103.08,103.09,103.1,103.11,103.12,103.13,103.14,103.15,103.16,103.17,103.18,103.19,103.2,103.21,103.22,103.23,103.24,103.25,103.26,103.27,103.28,103.29,103.3,103.31,103.32,103.33,103.34,103.35,103.36,103.37,103.38,103.39,103.4,103.41,103.42,103.43,103.44,103.45,103.46,103.47,103.48,103.49,103.5],"series":["GHz","S1","S2","S3","S4","S5","S6","S7"],"data":[[null,0.10251,0.10252,0.10253,0.10254,0.10255,0.10256,0.10257,0.10258,0.10259,0.1026,0.10260999999999999,0.10262,0.10263,0.10264,0.10265,0.10266,0.10267,0.10268000000000001,0.10269,0.1027,0.10271,0.10272,0.10273,0.10274,0.10275,0.10276,0.10277,0.10278,0.10279,0.1028,0.10281,0.10282,0.10283,0.10284,0.10285,0.10286,0.10287,0.10288,0.10289,0.1029,0.10291,0.10292,0.10293000000000001,0.10294,0.10295,0.10296,0.10296999999999999,0.10298,0.10299,0.103,0.10301,0.10302,0.10303,0.10304,0.10305,0.10306,0.10307,0.10308,0.10309,0.1031,0.10311,0.10312,0.10313,0.10314,0.10315,0.10316,0.10317,0.10318000000000001,0.10319,0.1032,0.10321,0.10321999999999999,0.10323,0.10324,0.10325,0.10326,0.10327,0.10328,0.10329,0.1033,0.10331,0.10332,0.10333,0.10334,0.10335,0.10336,0.10337,0.10338,0.10339,0.1034,0.10341,0.10342,0.10343000000000001,0.10344,0.10345,0.10346,0.10346999999999999,0.10348,0.10349,0.1035],[null,1.3,0.8,1.3,1.3,1.8,3.1,3.1,2.7,3.3,3.4,3.4,3.8,3.8,3.8,3.6,3.6,3.8,4.2,4.2,3.6,3.4,4,4.2,3.4,3.4,3.6,3.8,4,4.2,5.4,4.7,4.8,6.2,6.5,6.3,6.6,6.8,7.2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