![Alcorn Mcbride V+ series User Manual Download Page 120](http://html1.mh-extra.com/html/alcorn-mcbride/v-series/v-series_user-manual_2892709120.webp)
6-2
Advanced WinScript Programming
Introduction
This section is designed to illustrate some advanced techniques of script
programming that we have come to rely upon as the most robust and
straightforward way of utilizing our equipment in shows.
Terms Used
The term “PC or Program Counter” is used to refer to the current event that each
sequence is on. If it is at the top of the sequence, it means that the PC is
pointing to the first event. It could be anywhere between the top of the sequence
and the last event. The PC advances every time the event it is pointing to has
event time equal to (or prior to) the TC, described below. At that time, it
executes the event. The PC can only move forward in the sequence. It will
automatically move to the next event when the last is completed, or it can jump
forward.
The term “TC or Time Counter” is used to refer to the current time in frames
that each sequence is at. The TC always starts at zero when the PC is at the top
of the sequence, meaning that the time is 00:00.00 when each sequence begins
running. The TC increments one frame every time the Show Controller
advances one frame, and does not change based upon the time any event is set
to. Any time that the TC encounters an event that has a time less than or equal
to it, the event is executed on that frame. The TC always moves forward, and
does so as long as the sequence is running. If the event being executed is an
external serial command that takes longer than one frame to execute, the TC
continues to move forward during that time.
Although these techniques apply to all Alcorn McBride Show Controllers, most
of these examples assume that the controller is a V16+, unless indicated
otherwise.
Finally, even though all of the examples in this section are written for
WinScript, the scripting strategy involved is exactly the same for DOS Script.
Most users should be able to reformat these examples for use in any version of
DOS Script or WinScript.
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: ......