LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual
Pages 97
Views 829
Downloads : 2 times
PDF Size : 572.7 KiB

Summary of Contents

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

  • Chapter 2Extensions to LabVIEW© National Instruments Corporation2-41LabVIEW LEGO MINDSTORMS NXT ModuleFile Access Performance IssuesWriting to flash memory is very slow compared to RAM access on the NXT brick. Writing to flash memory also ties up the CPU. File write operations are buffered in RAM whenever possible, but the firmware is subject to pauses of 6–30 ms while these buffers are committed to flash. If you experience significant delays during program operations, consider minimizing the amount of flash writing you perform.Most file access method calls are subject to delays averaging 6 ms or less, with NXTFileOpenWrite subject to the most delay per call. The following sections describe the methods and include specific notes about potential flash writing performance issues where applicable.