Just what it says on the tin - the parts of a DMX trigger declaration.
Anything between a <!-- and --> is considered commented out.
event - This tag is what is used to define separate trigger event actions.
type - This is where you tell the program which trigger to watch for.
continuous - Do you want this even to loop as long as the event is happening, possibly cutting off in the middle? or do you want it to fire off once, completely, and not again until triggered again?
timeblock - This tag breaks up the event into sections, played sequentially
mseconds - How long is this timeblock, in milliseconds
setvalue - Here's where the magic happens. This tag is a command for a single DMX address
index - The channel you're addressing with this setvalue command. Valid integers between 0-511, Artemis will increment the address by 1 to read 1-512.
value - Any integer from 0-255.
change - During this timeblock, if not 0, Artemis will increment or decrement the value by this amount over 1000 ms, but the value is bounded by the range of 0-255. For example change="-100", then it will decrement the value by 1 every 10 ms. change is not limited to +-255, for example change="512" will take value="0" to 255 in 500 ms.
The event below creates a yellow light during tractoring events, and fades it out for a half second and in for a half second. It's
<!-- ********************************************************************************************* -->
<event type="TRACTORED_FOR_DOCKED" continuous="yes">
<!-- pulsing yellow light -->
<timeblock mseconds="500">
<setvalue index="5" value="200" change="-100"/> <!-- red value of first light box -->
<setvalue index="6" value="200" change="-100"/> <!-- green value of first light box -->
<setvalue index="7" value="13" change="0"/> <!-- blue value of first light box -->
</timeblock>
<timeblock mseconds="500">
<setvalue index="5" value="150" change="100"/> <!-- red value of first light box -->
<setvalue index="6" value="150" change="100"/> <!-- green value of first light box -->
<setvalue index="7" value="13" change="0"/> <!-- blue value of first light box -->
</timeblock>
</event>
Comments (0)
You don't have permission to comment on this page.