![Alcorn Mcbride V+ series User Manual Download Page 242](http://html1.mh-extra.com/html/alcorn-mcbride/v-series/v-series_user-manual_2892709242.webp)
15-6
Appendix A
– Adding User-Defined Serial Protocols
Note
WinScript does not require parameters to be in specific column numbers,
as long as multiple parameters are placed in order. If the event requires two
parameters for example, the data can be put into column 2 and 4 ( leaving 1 and
3 blank ) as long as the data in column 1 matches the first parameter, and
column 4 matches the second parameter.
Param
fields are important because of the fact that they
perform an operation
as well as qualify the data. They take the data the user enters and puts it in a
format the message field can take and perform another operation on. The
combination
of the
param
and
message
field processes are what make the
serial messages come out correctly.
Here are the possible
param
field choices:
input
,
output
,
flag
,
var
,
port
,
datastring
,
lcdstring
,
string
,
seq
,
byte
,
word
,
bytelabel
,
bytetime
,
framestring
,
timestring
,
trackstring
, and
contains
. In all cases, if the compiler does not
qualify the data, then the corresponding message is displayed if it exists. If the
compiler does qualify the data, the compiler performs different operations on the
parameter, depending on what the
param
field is. The following is a
description of each of the following
param
types:
input
– Must match the name of an input in the Configuration | Inputs
window. Puts one byte in the compiler buffer which is the index of that
input.
output
– Must match the name of an output in the Configuration | Outputs
window. Puts one byte in the compiler buffer which is the index of that
output.
flag
– Must match the name of a flag in the Configuration | Flags window.
Puts one byte in the compiler buffer which is the index of that flag.
var
– Must match the name of a variable in the Configuration | Variables
window. Puts one byte in the compiler buffer which is the index of that
variable.
port
– Must match the name of a port in the Configuration | Ports window.
Puts one byte in the compiler buffer which is the index of that port.
sequence
– Must match the name of a sequence in the Sequence List
window. Puts one byte in the compiler buffer which is the index of that
sequence.
remoteinput
– Must match the name of an input in the Configuration |
Inputs window of the remote script connected to a porttyperemote as
param1. Puts one byte in the compiler buffer which is the index of that
input.
remoteoutput
– Must match the name of an output in the Configuration |
Outputs window of the remote script connected to a porttyperemote as
param1. Puts one byte in the compiler buffer which is the index of that
output.
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: ......