I am using a CR6 and am using SplitStr to split a string with
SplitStr (SUNAbParse(),SUNAbIn,",",SUNAn,0)
that looks like this (from Terminal Emulator)...
R 07:53:08.037 .ATSLF0340,2015231,15.884556,2.81,0.0393,0.1736,0.1359,0.00,16122,604,1,610,615,
R 07:53:08.037 614,593,615,597,623,596,635,729,1013,1745,3200,5609,8876,12562,16081,19048,21264
R 07:53:08.037 ,22704,23422,23495,23074,22336,21503,20688,20036,19581,19367,19431,19725,20277,2
R 07:53:08.037 1079,22150,23354,24875,26467,28161,29835,31360,32567,33415,33765,33619,32989,319
R 07:53:08.037 47,30634,29259,27856,26550,25467,24571,23865,23361,23011,22861,22843,22965,23225
R 07:53:08.037 ,23625,24113,24759,25481,26272,27179,28086,28967,29745,30401,30812,30941,30807,3
R 07:53:08.037 0308,295
R 07:53:08.173 34,28512,27264,25897,24509,23112,21792,20558,19467,18464,17597,16851,16225,15674
R 07:53:08.173 ,15253,14929,14681,14524,14446,14455,14548,14700,14921,15241,15621,16044,16516,1
R 07:53:08.173 7031,17548,18053,18509,18901,19215,19419,19481,19443,19245,18937,18533,18057,175
R 07:53:08.173 23,16976,16436,15898,15381,14888,14479,14124,13816,13566,13369,13243,13171,13155
R 07:53:08.173 ,13149,13211,13325,13461,13634,13845,14081,14357,14658,14980,15327,15722,16109,1
R 07:53:08.173 6534,16950,17394,17825,18299,18729,19169,19544,19908,20215,20455,20663,20801,208
R 07:53:08.173 81,20882,20816,20661,20465,20198,19889,19557,19198,18816,18453,18069,17667,17307
R 07:53:08.173 ,16921
R 07:53:08.173 ,16551,16166,15778,15357,14983,14596,14254,13938,13621,13353,13067,12827,12620,1
R 07:53:08.173 2408,12200,12013,11820,11625,11444,11283,11139,11019,10889,10770,10681,10617,105
R 07:53:08.173 52,10507,10503,10480,10481,10485,10517,10538,10595,10653,10708,10760,10817,10889
R 07:53:08.313 ,10958,11033,11099,11187,11225,11297,11337,11374,11393,11390,11407,11413,11427,1
R 07:53:08.313 1409,11318,11193,11048,10887,10745,10596,10461,10331,10199,10092,9961,9859,9758,
R 07:53:08.313 9711,9636,9469,9277,9101,8950,8807,8673,8537,8445,8361,8289,8221,8135,8017,7827,
R 07:53:08.313 7537,7113,6565,5888,4930,5.4,4.9,23.5,122386,11.6,12.5,12.0,5.0,563,-1.00,-1.00,
R 07:53:08.313 12.5283,2.050254,0.000525,,,,,192
There are 282 individual values, with all but the first set being numeric. Checking the ProcessTime with 1 of these instruments is about 370,000 uS (which seems slow to me). When adding another one it increases to 960,000 uS. Without either of these instruments being recorded I am at 2011 uS. I am looking to get roughly 1 hz data, yet with 2 attached I start missing a lot of scans. Is there another command I can use other than SplitStr?
I am in PipeLineMode
On a side note when I only have 3 of these instruments recording MaxProcessTime is about 600,000 uS, but it never wrote a record
* Last updated by: sinusoid on 8/19/2015 @ 10:54 AM *
Is your destination array an array of String or of Float?
For the numeric split option, the destination should be of type Float.
The processing might be faster to first break it up into smaller strings off the commas using the FooterFilter option. Then assign the short strings into float variables. The new array notation allows the last step to be a single line.
FloatArray() = StringArray()