LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual
Pages 97
Views 828
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-42ni.comNXTFileOpenReadParameters:This system call method attempts to open the file specified by Filename for read operations.If the return value is zero, the file open operation succeeded. File Handle is assigned a unique handle for use with NXTFileRead and NXTFileClose, and Length is assigned the current length of the file. Furthermore, this file is registered for use with NXTFileResolveHandle.If the return value is non-zero, an error occurred attempting to open the file. You can ignore File Handle and Length. This file is not registered for use with NXTFileResolveHandle.ParameterData TypeI/O DirectionDescriptionStatus CodeU16outputRefer to the 57,File Access Status 57,Codes section.File HandleU8outputUnique handle to identify open fileFilenamestringinputMaximum of 19 characters (15.3 filename)LengthU32outputLength of file in bytes