
Messages
4-5
program to be sure the controller follows your wishes. Most users expect CW
messages, beeps and perhaps speech messages to be mixed with repeat
audio, since sending them unmixed would mute repeat audio for the duration of
the message. However, pages, announcements, and so forth, may be sent
unmixed to ensure they are received and decoded properly.
Synchronizing Messages and Commands
In the controller, the Message Handler processes messages from the Message
Queue
.
The Command Executive processes commands and macros from the
Execution Queue. These queues are processed independently but
simultaneously. Messages and commands queued at the same time and
expected to operate in sequence can have unexpected results. That is, unless
you use the message control character to keep everything in synchronization.
Suppose you want to generate a DTMF page of “1234”, then switch on logic
output number 1. You might write a macro with the following commands:
(PW) 20 9000 (PW) 15 9950 01 02 03 04 *
(PW) 29 9000 (PW) 70 1 *
However, this command sequence will not have the expected results. The first
command queues the DTMF page to the message queue for execution then
immediately executes the command to turn on the logic output. The logic
output will change before the DTMF command has completed.
To cause the second line of the macro to wait until after the first line has sent
the DTMF page, you write this as two macros:
(PW) 20 9000 (PW) 15 9950 01 02 03 04 9999 9001 *
(PW) 20 9001 (PW) 70 1 *
“9999” in the macro 9000 is a
Message Control Character
that causes a macro
to be executed when the Message Handler reaches that point in the message.
The “9001” that follows the 9999 message control character is the name of the
macro to execute. This sequence operates as expected because the DTMF
page will complete before the command to turn on the logic output is executed.
Note:
Macro names used with the 9999
Message Control Character
must be 4
digits long. Add leading zeros if required.
This type of sequencing also has uses in
Autopatch
speed dial macros that dial
a pager, then send a DTMF page as the message to be displayed on the
dialed digital pager.
Содержание 7K
Страница 4: ......
Страница 72: ...7K Chapter 4 4 46...
Страница 178: ...7K Chapter 9 9 8 Notes...
Страница 206: ...7K Chapter 12 12 12...
Страница 212: ...7K Chapter 13 13 6...
Страница 254: ...7K Chapter 18 18 12...
Страница 260: ...7K Chapter 19 19 6...
Страница 300: ...7K Chapter 21 21 32...
Страница 354: ...7K Appendix A A 54...
Страница 358: ...7K Appendix B B 4...
Страница 380: ...7K Appendix C C 22...
Страница 385: ...Parts Lists and Schematics D 5 Main Board schematic page 1 of 4 to be provided...
Страница 386: ...7K Appendix D D 6 Main Board schematic page 2 of 4 to be provided...
Страница 387: ...Parts Lists and Schematics D 7 Main Board schematic page 3 of 4 to be provided...
Страница 388: ...7K Appendix D D 8 Main Board schematic page 4 of 4 to be provided...
Страница 389: ...Parts Lists and Schematics D 9 Main Board layout to be provided...
Страница 392: ...7K Appendix D D 12 SSM schematic to be provided...
Страница 395: ...Parts Lists and Schematics D 15 TIM Schematic to be provided...
Страница 396: ...7K Appendix D D 16 TIM Board Layout to be provided...
Страница 399: ...Parts Lists and Schematics D 19 ADM Schematic to be provided...
Страница 400: ...7K Appendix D D 20 ADM Board Layout to be provided...