Changes between Version 6 and Version 7 of Docs/Prog/Manual/DeviceSupport/USB
- Timestamp:
- 02/19/10 13:19:05 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/DeviceSupport/USB
v6 v7 27 27 { 28 28 fprintf(file, "Gross Weight %g\r\n", wtdata[1].grosswt); 29 fclose(file); 29 30 } 30 fclose(file);31 31 32 32 system("umount /mnt/fl1"); 33 33 34 34 }}} 35 This example will mount the flash device, write a file to it, and then unmount the device. 35 This example will mount the flash device, write a file to it, and then unmount the device. The USB storage device should not be removed or replaced while it is mounted. Programs should be written to mount and unmount each time they write to the flash, or there should be some command provided in the program so that the operator can unmount the drive to replace it. 36 36 37 37 [[Top]]