Create array variable
-
I'm working on a macro to help me pick some parameters for z probing (number of repeats and speed of approach, ). My goal is to probe the same point multiple times (maybe 100, or even 1000?) and do a statistical analysis on the resulting data. All in a macro (no SBC assistance). I'd like to create an array variable to store my data points as I collect them.
The meta command wiki page mentions arrays in one place, but I think it's referring to how to access an element of an array, not how to create an array and assign values to them.
So, can I create an array? If not, has anyone built a workaround? I can echo each value into a file, but I'm not sure how to read them back in a macro.
-
@mikeabuilder
User created arrays are not yet supported.
You may be able to do means, and averages inside a macro, but not much more at present.
Before variables were possible we would create a dummy tool / axis and store the values in the offsets etc, but that's a limited number of available array variables.