Example for outputting file aaaa.dtd – Yokogawa Touch Screen GP20 User Manual
Page 106

App-4
IM 04L51B01-17EN
Appendix 3 Output Flow Chart of External Storage
Medium Files and File Lists
Example for Outputting File aaaa.dtd
The flow chart for outputting file aaaa.dtd in the DATA0 directory on the external storage
medium is shown below.
FMedia,GET,/DRV0/DATA0/aaaa.dtd,0,-1
Receive response
Send command
Receive response
End
FMedia,GET,/DRV0/DATA0/aaaa.dtd,[unread position],-1
Obtain the number
of received bytes.
(2)
Compute
the unread position.
(3)
START
Send command
Is there more data?
(1)
(1) If the binary header flag (bit 0) is 0,
there is more data. If it is 1, data
transmission is complete.
(2) From the data length of the binary
output common header,
obtain the number of received bytes.
(3) Sum the number of received bytes,
compute the unread position.