November 1985
National Instruments
;
continue;
if FSOpen( reply.fName,
open file");
continue;
get end of file
l
/
if
GetEOF(
find
continue:
=
get buffer for file
l
/
s =
if
size too large for memory"):
continue:
read file into buffer
if FSRead(
not read file.");
continue;
read into buffer
FSClose(
don't need input file now
l
/
s,
release buffer
l
/
for any response from device.");
pause;)
OL, 1,
OL,
char
long
short
unsigned short loops = 1;
loops:
"--Total bytes to send=
while loops--)(
send file
130
APPENDIX I SERIAL PORT SAMPLE