![Alcorn Mcbride V+ series User Manual Download Page 101](http://html1.mh-extra.com/html/alcorn-mcbride/v-series/v-series_user-manual_2892709101.webp)
Event Reference
5-19
E
ve
n
t
Ref
er
en
ce
Example #4
– Actual Value
Event
Data1
Data2
MessageOut
Port3
h04 hF3 hF3 h80 h0D
Sends:
h04 hF3 h80 h0D
Important:
This feature can be extremely useful for writing protocol files that
you want to send variable values. If the "Supported" field in the command you
create is at least 6.40 Winscript will automatically implement this new feature.
See the
User-Defined Serial Protocols
section for more details.
SendAsciiDec, SendAsciiHex,
SendAsciiOct
Sends an ASCII formatted State Variable out a serial port. The output data can
also be formatted to include leading zeros or spaces (either leading or trailing)
by inserting an optional formatting code in the
Data3
column.
SendAsciiDec
-- Sends the value of a State Variable formatted as an
ASCII Decimal ("000"-"255"). For example, if the State Variable holds the
Decimal value
23
, the Show Controller will send ‘h32 h33’ (or “23”) out
the port.
SendAsciiDec
sends a maximum of three characters.
SendAsciiHex
-- Sends a State Variable out a serial port formatted as an
ASCII Hexadecimal ("00"-"FF"). For example, if the State Variable holds
the Hexadecimal value
A5
, the Show Controller will send ‘h41 h35’ (or
“A5”) out the port.
SendAsciiHex
sends a maximum of two characters.
SendAsciiOct
-- Sends a State Variable out a serial port formatted as an
ASCII Octal ("000"-"377"). For example, if the State Variable holds the
Octal value
13
, the Show Controller will send ‘h31 h33’ (or “13”) out the
port.
SendAsciiOct
sends a maximum of two characters.
Event Syntax
Event
Data1
Data2
Data3
Event Name
Name of
Port
Name of State
Variable
Optional Formatting
Code*
*LZ = Leading Zeros; LS = Leading Spaces; TS = Trailing Spaces
Example #1
Event
Data1
Data2
Data3
SendAsciiDec
Port3
ShowVar
Sends:
h31 h32 h33
If the value of ShowVar is decimal 123.
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: ......