![Alcorn Mcbride V+ series Скачать руководство пользователя страница 253](http://html1.mh-extra.com/html/alcorn-mcbride/v-series/v-series_user-manual_2892709253.webp)
15-17
Appendix A
– Adding User-Defined Serial Protocols
Ap
p
end
ice
s
A
param1=port, "A valid Port"
param2=var, "A valid variable representing a clip number"
byte1=(@byte(param2) + 1)
message=hF3 @complex(Byte1) "SE" h0d
First you must make sure that the "Supported" field is set to 6.40. WinScript
uses this information to determine whether variables can be sent, and then
compiles the command accordingly. As you can see, the message field in the
Variable version contains an hF3 and a @complex function. The hF3 signifies
that an ASCII representation will be transmitted. There are other modifiers like
hF3 and you can learn how they function in the
Built-In Serial Events
section.
The @complex function is required since the variable is zero-indexed (starts at 0
rather than 1). Since the show controller expecting a number that is not zero-
indexed, 1 must be added in the previous byte command. Overall, the
[SelectClip:ByVariable] command sends out the same basic result as
[SelectClip:ByNumber], only that data does not have to be hard-coded into your
script. As you can see, this is a very powerful feature as it gives you more
flexibility in your scripts.
Содержание V+ series
Страница 2: ...User s Guide To Show Control by Alcorn McBride Inc...
Страница 7: ...Third Party Equipment 18 3 Index 19 1...
Страница 8: ......
Страница 14: ...1 6 Welcome...
Страница 28: ...3 14 Show Control Overview GoingToDayModeMsg ClearLine2Msg...
Страница 38: ...3 24 Show Control Overview...
Страница 82: ...4 44 WinScript User s Guide...
Страница 118: ......
Страница 144: ...6 26 Advanced WinScript Programming...
Страница 170: ...7 26 Application Notes...
Страница 220: ...13 8 DMX Machine Hardware Reference...
Страница 236: ...14 16 SMPTE Machine Hardware Reference...
Страница 254: ...15 18 Appendix A Adding User Defined Serial Protocols...
Страница 264: ......
Страница 268: ...18 4 Appendix D Available Accessories...