Translation is in progress...
Not all topics are available at the moment and content links may be broken.
boolean DMX_FadeChannelDelayed (integer $InstanceID, integer $Channel, integer $Value, float $FadeTime, float $DelyTime)
|InstanceID||ID of the device to be switched|
|Channel||0 = all module channels, 1 – 512 depending on configuration|
|FadeTime||Time in seconds|
|DelyTime||Time in seconds|
|If the command succeeds, it returns TRUE, otherwise FALSE.|
Dims the Channel of the device with ID InstanceID to __Value with a certain FadeTime. You can specify a DelayTime after which the dimming starts.
When no delay time is set this command will abort all pending fading which were queued by DMX_FadeChannelDelayed. This allows creating a new queue of fadings. This hint is only relevant when using fadings with delay time
//Dims a module completely down and back up. DMX_FadeChannel(12345, 0, 255, 5.0); //Dim all channels of the module to 255 in 2,5 sec DMX_FadeChannelDelayed(12345, 0, 0, 2.5, 5); //Dim all channels of the module to 0 in 2,5sec., after a delay of 5sec.