LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

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

Summary of Contents

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

  • Chapter 2Extensions to LabVIEWLabVIEW LEGO MINDSTORMS NXT Module2-46ni.comNXTFileCloseParameters:This system call method closes the handle specified by File Handle.If the return value is zero, the method successfully closed the file handle and removed the file from the list of open files that NXTResolveHandle uses.If the return value is non-zero, the close operation failed. Either the specified file handle was invalid or no file was currently open using that file handle.All files opened by an NXT program are automatically closed when the program finishes or is aborted.Note that a successful NXTFileClose operation commits any pending file write buffers to flash memory, so this operation is subject to a 6–30 ms delay in performing the operation.ParameterData TypeI/O DirectionDescriptionStatus CodeU16outputRefer to 57,the File Access 57, Status 57, Codes 57, section.File HandleU8inputUnique handle to identify open file