Download - dataTaker

Transcript
Datataker Asynchronous RS232 Transport System
Initial State
dataTaker
Actions
{Message Number <- Invalid}
Initialised
Data Message Received
Idle
Actions
{Process incoming RS232 characters}
{Save message on start of message character}
Receiving
{-Ignore illegal messages}
+ Ack sent
Actions
{Calculate CRC and match}
Message correctly received
{Verify message number}
Message incorrectly received
Sending + Ack.
Actions
- Ack sent
{Send positive acknowledge message}
Sending - Ack.
Actions
{Send negative acknowledge message}
Receiver Module State Transitions.
Once a message has been received, and the Receiver Module is waiting
to send an acknowledgment, no other data message is expected. When
the RS232 Services Module is next idle the acknowledgment message
is sent. The Receiver Module is then ready to receive the next data
message.
Host Based DARTS The DARTS protocol has been incorporated in all Data Electronics
Protocol Driver
host computer software packages released since the release o f
Version 3.00 of the Datataker ROM.
Most notably this includes DeCipher Plus, where use of the DARTS
protocol can be selected for any connection to a Datataker.
The host software implementation of the DARTS protocol in these
packages is available from Data Electronics as an object library of C
modules, known as DAI - The DARTS Application Interface.
DAI provides a simple set of C functions, which provide an interface
to the DARTS protocol. These functions take care of all of the DARTS
issues concerned with formatting and sending user messages in a
straightforward manner. The application need only be concerned
with what is to be sent to the Datataker, not how it is to be sent.
64
Copyright © 1993 dataTaker Pty Ltd
Document No. RM-003-A0