Ion macro language help

I'm trying to write a simple "Lamp On" macro and find myself once again frustrated by the lack of documentation for this product. Can anybody point me at a reference manual for the macro language? How does everybody else learn the language?

This is supposed to loop through channels 90 through 99 sending a Lamp On. The macro never exits the loop so I'm guessing I don't have the syntax right. What am I doing wrong?

Undo _CLEAR_CMD #

9 0 #

Lamp_Controls Lamp_Control Lamp_On #

Macro_Loop_Begin #

Macro_Wait 5 #

_Next Lamp_Control Lamp_On #

Macro_Loop_End 9 #

Undo _CLEAR_CMD #




[edited by: sk8rs_dad at 8:25 PM (GMT -6) on Thu, Nov 20 2008]
Parents Reply
  • Thanks again. I interpreted the manual incorrectly. This is all it has to say about the {Loop} command. Since the iterator is discussed with the {Link End} command I thought think the iterator belonged with the {Loop End} command:

    {Loop Begin} - inserts a loop start command
    {Loop End} - inserts an end command for a loop with a limited number of iterations. An infinite
    loop is assigned when you use “0” for the iterations

    Is there any possibility some of the test team scripts could be published here as a learning aid?

Children
Related