Crestron
e-control Mail SW-MAIL
57
••
Demos
Installation & Reference Guide — Doc. 5798
It is also worth noting that there is no direct connection between the
DBMScoller
macros and the
Receive e-Mail
symbol. Interpretation of scroller picks as IN box
message selection occurs within the server as the IN box scroller signal block makes
calls on the e-mailbox signal block.
Demo 4 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 4 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; and
Receive 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 4 VT Pro-e Program
Page 4: Receiving e-mail into an IN box:
The first page of the VT Pro-e
program has some introductory information about the demo and a button labeled “Go
to demo screen.”
N
OTE
:
Before proceeding to the actual demo page, start the server protocol by issuing the
Server | Start
command.
Page 4-1: New mail view:
The next page is the actual demo screen, containing an
area for “Control Signal Interpretation”; the DEMO4-INBOX scroller; and “check
mail” button along with a progress bar. Above the IN box scroller is a pair of
buttons,
New Mail
and
Old Mail
, disguised as folder tabs. Each tab also contains a
digital gauge, used to indicate the number of rows in the table.
New Mail
is a dummy
on this page (join=
NONE
) and
Old Mail
leads to Page 3 via local page flip. Pick items
from the scrolling lists to display an e-mail message; the server responds with the
PageFlip
signal, used here to flip to Page 4.
Page 4-2: Old mail view:
This page looks very similar to the first, containing the
same scroller object group, all using the same join and indirect text numbers. Here,
however, the
Old Mail
button is the dummy and
New Mail
leads back to the
previous page. In addition to the local page flip to this page, the
Old Mail
button also
latches the
ViewOldMail
signal which causes the scroller to requery for all mail
which has already been read at least once. Similarly, the
New Mail
button resets the
ViewOldMail
signal which causes the scroller to requery for all mail which has not
already been read
Page 4-3: Message view:
Upon receipt of a
Pick
signal from the IN box scroller,
the contents of this page are set by the server using the
Echo____
signals to display
the message headers; and the optional DEMO4-BODY scroller to display the actual
message. Note that the
Pick
signals of this second scroller are all unconnected