MA Lighting grandMA2 User Manual - page 983
© 2017 MA Lighting Technology GmbH | Dachdeckerstr. 16 | D-97297 Waldbüttelbrunn | Germany
Phone +49 5251 688865-30 | tech.support (at) malighting.com | www.malighting.com
Version 3.3
1
Temporary filtering using the If key
While storing or using the At command you can include an encapsulated condition. The condition can be almost
anything and can include many different elements.
The condition is encapsulated using the
If
key. You can keep the key pressed if you are making a complex
condition or press it shortly if it is a more simple condition.
The encapsulation is between the
and the
. EndIf is available as a command using the
If
key after you have typed the first If command. Sometimes the software will automatically add the EndIf
command.
The condition is usually made by pressing different elements on the screens, but it can just as well be written
commands. The condition can be positive or negative. For example: If you want to only have position values then
you can simply tap the
Position
button in the Preset Control Bar. If you want everything except the position values,
then you can press the
-
key and then the
Position
button to get the following command:
If - PresetType
"POSITION" EndIf
in the command line.
Examples
The two examples used above can also be achieved using the
If
key.
1. Use the "Demo Dimmer and more" demo show or a show with some fixtures.
2. Make sure the Selected filter is the "All" filter so nothing is filtered already.
3. Select a fixture and give it values on several attributes including Dimmer.
So now we imagine that this is the look we want in a cue - it is going to be cue number 2.
We do not want to use the move in black function but we want the fixture to already be pre-positioned when we run
cue number 2. So we are going to store all data except the dimmer in cue number 1 and then the dimmer value in
cue number 2.
4. Press
Store
.
5. Press
If
and then
-
. Now the filtering is active and we have already selected that we want to exclude
something.
6. We want to exclude the dimmer so now you can tap the
Dimmer
button in the
7. Finish the temporary filter by pressing the
If
key again. Now the command line should read:
Store If -
PresetType "DIMMER" EndIf
.
8. Press an empty executor button - creating a new cue 1 in a new sequence and executor.
Now you have stored all values except the dimmer in cue number 1. You still have the dimmer values active in your
programmer, the rest is stored. The temporary filter is now gone and noting is filtered anymore.
9. Press
Store
and then the same executor button.
10. In the pop-up select
Create Second Cue
.
This was an example on how to use the If command to exclude an attribute - actually an entire preset type.
The next example is about allowing some attributes to pass the filter.
983