Hello again.
I'm currently using a for loop to check conditions over a few dozen IO using arrays, and I'd like to be able to log how long a particular IO has been on/off. A number of questions popped up today:
1. Any reason I cannot set up my own labeled timer variables? It is nice that I can parameterize using a loop variable, e.g. T[V0], if V0 is my loop variable, but would be ideal if I could do something like LightStatusTimers[V0] or something like that. I can block out groups in the timer block, but it makes the names much more descriptive if I can name the blocks individually.
2. I know this is getting greedy, but is there any plan for double-nesting instructions? It seems silly until you try to enable an output using an element of an array. For example, if my output addresses are OutputAddresses0-31, I would enable them using SET Y[OutputAddreses[V0]], if V0 is my loop variable. At the moment I use a move function to move OutputAddreses[V0] into a temporary Vmem address and use that. Also, it appears only V variables can be used for indexing arrays?
3. Lastly, what would be the best way to create a bunch of synchronous timers without having to create them all explicitly? I could create an array of variables to store time using NOW() and some logic on top, but that has only 1s resolution and seems like a pretty ugly hack. There has to be a sneaky way to do this. 10ms resolution is sufficient.
Thanks,
C