User Tools

Site Tools


macros:example:stopwatchflash

This is an old revision of the document!


Example

Stopwatch/Flash Playback

by: Sebastian Beutel, March 2020
published: here
description: flashes a playback and stopwatches the time this is activated
remarks: idea: https://www.facebook.com/groups/1811437589141428/permalink/2606214156330430/
use this to stopwatch the time a CO2 jet is activated
see also Timecode - Start/Stop

functions

Code

stopwatchflash.xml
<?xml version="1.0" encoding="utf-8"?>
 
<!-- flash playback 1 while being held and use timecode 1 as stopwatch -->
 
<avolites.macros>
  <macro id="wiki.Macros.timecode.one.stopwatchflash" name="Stopwatch Timecode 1 with PB900 flash">
    <description>Stopwatch Timecode 1 with PB900 flash</description>
    <start>
      <step>Playbacks.FlashPlayback("cueHandleUN=900")</step>
      <step>Timecode.TimecodeOne.Play()</step>
    </start>
    <end>
      <step>Playbacks.ClearFlashPlayback("playbackHandleUN=900")</step>
      <step>Timecode.TimecodeOne.Pause()</step>
    </end>
  </macro>
</avolites.macros>

Explanation

This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax

tbd

How to use it

You could leave a comment if you were logged in.
macros/example/stopwatchflash.1584873631.txt.gz · Last modified: 2020/03/22 10:40 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki