LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual
Pages 97
Views 847
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-50ni.comNXTFileRenameParameters:This system call method renames the file specified by Old Filename to New Filename.If the return value is zero, the rename operation succeeded.If the return value is non-zero, the rename operation failed. Either the specified file does not exist or an open handle is associated with the file.Be careful to close any open handles associated with a file before renaming it.Note that file renaming involves writing internal file system data to flash memory, so this system call method is subject to a 6–30 ms delay in performing the operation.ParameterData CodeI/O DirectionDescriptionStatus CodeU16outputRefer to the 57,File Access Status 57,Codes 57, section.Old FilenameStringinputMaximum of 19 characters (15.3 filename)New FilenameStringinputMaximum of 19 characters (15.3 filename)