PDA

View Full Version : Need a tip to generate a sequence.



Mark F
October 13th, 2002, 12:55 PM
I responded to your other thread (about creating a loop) that asked the same question. :smile:

You are looking for the "multigroup". The multigroup is a list of commands that are executed one after another. Instead of "add command", use "add multigroup". To complete the multigroup, add new commands in it or copy/paste commands to it and learn an event (button) for it. When the button is pressed, the multigroup will execute the commands, in order, from top to bottom.

Mark F
October 13th, 2002, 12:55 PM
States have always confused me. :wink:

Any commands that you want to execute as a sequence need to be in the same state.

giova
October 13th, 2002, 12:55 PM
Hi again.

Well i would like to know if it is possible to create a sequence (Group of commands (events) that are launched one after one (a kind of script if u prefer)

for example i want that one of my button, display something, then launch a software, then ... etc...

any help please!!!???!!!

giova
October 13th, 2002, 12:55 PM
ok so if i understand, commmands must be at the same state, isn't it?

giova
October 13th, 2002, 12:55 PM
I think i've understood States, so i'm gonna trying to explain what i've discovered:

INFORMATIONS BELOW ARE NOT OFFICIAL, THEY HAVE TO BE CHECKED.

I think u are mostly confused by the checkbox (All exept 1)

The State define the necessary number of time where u have to press the remote's button.

So:
State = 1 => U have to press once
State = 2 => U have to press twice
etc...

(All exept 1 checkbox):
If Unchecked, the command will be Launched when State Become Egal to the Specified State of the command.

If Checked, , the command will be Launched when State will leave the Specified State of the command.

As u said, we can make a "Script" a "Sequence", in this case states must be the same for all commands that u want to be in the "Script". And as u said, commands will be Launched One by One, beginning by the uppest command, and finish with the Bottomlest one.


So if u look at the exemple given in the help file :

"Use one remote with many profiles, how to switch groups on and off."


When Girder Starting, State is egal to 1

So If u press Once, all commands with state egal to 1 and with "All Exept 1" Uncheked will be Launched.

When commands have finished to be Lauched, Girder put automaticly state egal to 2, so :

If U Press a second Time, then All Commands with State egal to 2 and with "All Exept 1" Uncheked, and all commands with state egal to 1 and with "All Exept 1" checked will be Launched.

Then State become egal to 3

If U Press a third Time, then All Commands with State egal to 3 and with "All Exept 1" Uncheked, and all commands with state egal to 2 and with "All Exept 1" checked will be Launched.


Q:Ok so what is the difference between
command with State 1 and "All execpt 1" checked, and commands with State 2 and "All execpt 1" unchecked?

A:Nothing, behavours are the same for the both, it is just to make your Group easyer to read , analyse, and so modify.

Hope, i've be Right and clear enough.
Sorry for my poor English


<font size=-1>[ This Message was edited by: giova on 2001-11-08 19:47 ]</font>