Advanced WinScript Programming
6-9
Ad
va
n
ce
d
P
ro
g
ramm
ing
Our “Zoo Animals” video segments have the following properties:
Segment
Name
Length
(mm:ss.ff)
1
Monkeys
02:46.20
2
Elephants
00:33.10
3
Tigers
01:40.00
4
Democrats
02:46.20
5
Zoo Summary
05:33.10
Non-Modular Approach
This approach searches and plays the five segments in order in one sequence
called MainShow. MainShow is started by
Input9
, which is an external button
that is pushed by an operator on an OCC console. The delay between
Search
and
Play
commands is necessary to wait for the searches to take place. If the
delay were not put in, the
Play
command, which would not start until after the
Search
was completed, would occur at the wrong time; effectively ruining the
segment.
Although this sequence works, it has some undesirable qualities. The
mandatory two second wait for searches to take place means that guests will be
forced to watch a two second pause in their show, instead of the minimum time
it takes to actually perform the searches, which could be as low as one frame. In
addition, the programmer had to figure out the playing time of each segment,
and if a segment is added or deleted, or a segment is shortened or lengthened,
the programmer will have to re-calculate those
Search
and
Play
times every
time a change is made to the show.
MainShow
(Start Trigger: Button 1)
Label Time
Event
Data1 Data2 Data3 Comment
00:00.00 Search dvm1
1
Monkey Segment
00:02.00 Play
dvm1
Wait 2 seconds for search
02:48.20 Search dvm1
2
Elephant Segment
02:50.20 Play
dvm1
Wait 2 seconds for search
03:24.00 Search dvm1
3
Tiger Segment
03:26.00 Play
dvm1
Wait 2 seconds for search
05:06.00 Search dvm1
4
Democrat Segment
05:08.00 Play
dvm1
Wait 2 seconds for search
07:54.20 Search dvm1
5
Summary Segment
07:56.20 Play
dvm1
Wait 2 seconds for search
13:30.00 Search dvm1
1
Search to Black- Done!
Modular Approach #1
This approach breaks up the show into six sequences, one of which is the trigger
sequence, and the rest are dedicated to individual video segments. It has the
advantage of having search times that occur as fast as possible, without any
delay required. The
Start
event will happen whenever the search is completed,
but since the sequence it starts resets the event time back to zero, the events
occur at the appropriate time regardless of how long the searches take. The
Summary of Contents for V+ series
Page 2: ...User s Guide To Show Control by Alcorn McBride Inc...
Page 7: ...Third Party Equipment 18 3 Index 19 1...
Page 8: ......
Page 14: ...1 6 Welcome...
Page 28: ...3 14 Show Control Overview GoingToDayModeMsg ClearLine2Msg...
Page 38: ...3 24 Show Control Overview...
Page 82: ...4 44 WinScript User s Guide...
Page 118: ......
Page 144: ...6 26 Advanced WinScript Programming...
Page 170: ...7 26 Application Notes...
Page 220: ...13 8 DMX Machine Hardware Reference...
Page 236: ...14 16 SMPTE Machine Hardware Reference...
Page 254: ...15 18 Appendix A Adding User Defined Serial Protocols...
Page 264: ......