![Alcorn Mcbride V16Pro Скачать руководство пользователя страница 84](http://html1.mh-extra.com/html/alcorn-mcbride/v16pro/v16pro_user-manual_2892710084.webp)
WinScript Live Command Reference
Page 84
External Communication Events
Built-In Events send a custom message to a specific Ethernet or serial device.
To Do This…
Use This Event…
Control a custom device
Message Out
Create a custom string to send
Format
Send a message to the “Live Log”
Log Message
Message Out
Sends a custom serial message out one of the serial ports. The message is sent in the protocol
defined for that port, but the Show Controller will not wait for an ACK or other response unless a
TCP connection is required.
Event Syntax
Event
Data1
Data2
Message Out
Name of Port
Name of String Variable or Literal Message
Example #1
Event
Data1
Data2
Message Out
Port3
DataMsg
Sends (where h represents hex character):
Hello h0D
If DataMsg is:
"Hello\r"
Log Message
Send a message to appear in the “Live Log” in WinScriptLive.
A log message has a priority of “Information”, “Warning” or “Error”.
Optionally, variables may be used as part of the string the string. This is similar to the sprintf
function found in C.
Event Syntax
Event
Data1
Data2
Data3…. DataN
Log
Message
Priority of the
message
Format String: "hello
%s %d"
Variable Name
Содержание V16Pro
Страница 1: ...V Series Network Controllers Alcorn McBride January 3 2018 User s Guide...
Страница 48: ......
Страница 64: ......
Страница 86: ......
Страница 91: ...V16Pro Page 91 V16Pro...
Страница 114: ......
Страница 118: ...VCore Page 118 VCore Figure 11 Front View Figure 12 Rear View...
Страница 119: ...VCore Page 119 VCore Figure 13 Top View Figure 14 Bottom View...
Страница 138: ......
Страница 167: ...Serial and Ethernet Control Page 167 Control Example Send Command AHJ 0D enables port A Response R 0D...
Страница 172: ......