External Data Input: Difference between revisions
From Zenitel Wiki
| Line 42: | Line 42: | ||
When receiving the test "Start alarm 3", terminated by Line Feed character, play alarm message 3 (8193) to group 85: | When receiving the test "Start alarm 3", terminated by Line Feed character, play alarm message 3 (8193) to group 85: | ||
[[Image:EDI example.PNG|thumb|left| | [[Image:EDI example.PNG|thumb|left|1000px|The Login page]] | ||
<br style="clear:both;" /> | <br style="clear:both;" /> | ||
Revision as of 13:03, 11 October 2019
The EDI ports are defined in AlphaPro: Exchange & System -> Serial Ports.
- The input message must have a termination character
- Maximum 128 characters. If longer strings, the first 128 characters will be returned, the rest will be ignored.
- Parsing the content is done in the action string in the Event Handler
Event description
| Event Owner: | EDI Text Config |
| Event type: | 28 - External Data Input |
| Subevent: | 1 – 10: specifies which EDI port 0: matches all ports |
| When change to ON: | When valid data is received on EDI port |
| When change to OFF: | N/A |
| When related to: | N/A |
Additional information
- Context parameters
- Useful macros and statements
| The NUL character (ASCII 0x00) cannot be used in the EDI string. The processing of the string will be terminated when receiving NUL. |
Example
When receiving the test "Start alarm 3", terminated by Line Feed character, play alarm message 3 (8193) to group 85:
