Crestron
e-control Mail SW-MAIL
56
••
Demos
Installation & Reference Guide — Doc. 5798
It is also worth noting that there is no direct connection between the
DBMScoller
macro and the
Send e-Mail
symbol. Interpretation of scroller picks as e-mail
composition actions occurs within the server as the scroller signal blocks make calls
on the e-mailer signal block.
Demo 3 Block Diagram
[ Figure unavailable ]
N
OTE
:
This block diagram shows the use of a virtual COM port for TCP/IP communications with
the server. For serial communications using RS-232, the virtual COM port is simply replaced with a
real COM port.
Demo 3 SIMPL Windows Program
Two items need to be added to the control system in the Configuration Manager in
SIMPL Windows. From the
Control Systems
folder in the
Device Library
select
CNMSX-PRO; and also add a two-way serial driver to a COM port on the
CNXCOM-6 board from the
Serial Drivers (General)
folder (or add a Virtual
Communication Port from the
Ethernet Control Modules
folder and a driver as
above).
In the Programming Manager, the other blocks are added to the system from the
Logic Symbols
folder in the
Symbol Library:
Interlock
and
Set/Reset Latch
are
selected from the
Memory
sub-folder; the two
Numeric Keypads
and two
Analog
Buffers
are selected from the
Analog Operations
sub-folder; and
Send e-Mail
is
selected from the
e-Mail/Database
sub-folder. The
DBMScoller
macros can be
found in the
Crestron Modules
folder, e
-Mail/Database
sub-folder.
Demo 3 VT Pro-e Program
The structure of the demo 3 touchscreen pages echoes that of the demo 2 touchscreen
pages (see above).
N
OTE
:
Before proceeding to the actual demo page, start the server protocol by issuing the
Server | Start
command.
Page 3-1: Scrollers and message display:
This final page of the VT Pro-e
program is the actual demo screen. Pick items from the scrolling lists to compose the
e-mail message. When the desired data appears in the fields, use the
Send Now
button to send the e-mail. Use the
Clear Names
button to eliminate any names from
the
To:
field. Use the
Clear All
button to empty all fields.
Demo 4: Receiving e-Mail
This example demonstrates receiving e-mail into a scrolling “IN box” (list of
messages) which has both a “new mail” and an “old mail”
view;
displaying any
particular e-mail message in a scroller; and processing incoming “control messages.”
The scrollers are of course implemented as Standard Scroller signal blocks which are
referenced in the e-mailbox signal blocks configuration. Demo 4 again illustrates the
setup of two
DBMScoller
macros to service these scrollers; and the setup of the
Receive e-Mail
symbol as well. Refer to the block diagram on the next page for an
overall graphical representation of this example. Note that both the
DBMScoller
macros and the
Receive e-Mail
symbol have
rx
and
tx
streams that must be
connected to the (virtual) COM port symbol.