Dataman S4 User Manual

Page 95

Advertising
background image

DATAMAN S4 MANUAL

Binary Format 95

BINARY Format

The file is sent as a succession of bytes. The
data is not processed at all. S4 asks for
START and END addresses when receiving.
An ASCII End-of-File character is not sent
when the format is set to BINARY because it
would be received as data. Sending BINARY
files from S4 is possible, but may be difficult to
implement at the receiving end. The computer
must expect a pre-defined size of block and
know where to put it. When receiving a block in
BINARY format, S4 has no way of knowing
when the computer has finished sending. You
must press ESCape when the transmission is
ended.

NOTE: Computers will not send a BINARY
file through their serial interface, using PIP
or COPY routines, unless you add a suffix :
COPY needs /8, PIP needs [O1. Otherwise
the trans- mission is aborted if an end-of-
file (1A) character is seen.

BINARY reception is useful to check other file
formats: every character that is sent appears in
S4's RAM, so you can see what is really being
received, including carriage returns, line feeds
etc.

Advertising