Canon Model 6401 B manual Header Message Format, Header message Line, L/F

Page 31

Field Test Unit Software

5. DATA STORAGE FORMAT

Data storage and communications to/from RAM, Cassette tape and RS-232 communication with a host computer conforms to the format detailed below.

5.1 FTU FILE FORMAT

The data file consists of three parts, one HEADER message (Line 1:) one or more DATA messages (Line 2: onwards) and an END message line.

1

HEADER message which contains information about the file.

1 or more

DATA messages which contain the actual data.

1END message which terminates the file.

5.1.1HEADER Message Format

The HEADER message is generated by a BASIC ‘PRINT’ statement and read by a BASIC ‘INPUT’ statement.

The HEADER information is used to describe the file and its contents, Fields are separated by commas. (The message is terminated with a C/R L/F sequence.)

HEADER message - Line 1:-

filename,ext,cycle,time,filesize

C/R L/F

Where:-

 

 

filename

= Name of the data file

ext

= Filename extension

cycle

= Data Logger

cycle time in seconds (usually 5)

time

= Time and Date in logger cycles past 1JAN80

 

(locn 4. Data Logger format)

filesize

= Size file in

bytes (excluding this HEADER Line 1:

 

but including

all DATA messages and the END line)

Section 5. DATA STORAGE FORMAT

25

Image 31
Contents Starlog Copyright Notice Table of Contents Running Plotx To CASSETTE/RAMRecordings LOAD/PLOT Operator ResponsesValues Direct Commands from FTU-PROMCommands Display FormatField Test Unit Software Contents Memory structure Installation Why use a FTU?RED Switching on the FTURunning a Program Attaching the cassetteBlack Saving a ProgramLoading a Program GreyFTU Memory Guide Filename ExtensionsPLOT/COPY/FTUC Loading PLOT’ in 16K RAM FTU Standard Features Copying Files Command FilesRunning Copy Timing considerations Operator Responses Question AnswerAnswers Running LoadPrinting & Plotting Recordings Running PlotFile name,type Hhmm Ddmmyy Buffer Start Sample Field DescriptionsPRINT/PLOT/LOAD/COPY Examples Print Example Operator Response QuestionPlot Example Load Example Hhmm Ddmmyy File 50,14 Load Program control variablesInput Copy ExampleQuestionMeaning Plotx Operator ResponsesSample Field Description = GreenLines on the X-710 printer to produce Header message Line Header Message FormatL/F END message Data Message FormatData messages Line 2 onwards END Message FormatData Storage Format Operation CommandCursor KEY Commands 5 ‘space’ CommandINITIALlZATlON CLS Next Locate 0,1PRINT USING####BL Locate 0,3PRINT? LB PChannel Addresses NFTU.X07 Program ListingNext PRINT#1,KKKON Error Goto 0V =Clsinputloc Lgoto If M=1 then M=2 Else M=1 Goto Clsinputblockbgoto ClsinputputDisplay of the Loggers Current Memory Values Key Stroke Function User Defined Screen FormatExample Commands to Modify Data Logger FTU to lock up on power onDisplay TimeTime X-07 Direct Commands from FTU-PROMQuit BaudS300 FreeIndirect and Miscellaneous Commands Home Summary of CommandsCLR ALL Recorded Data will be Lost Pdlftu