Datalog下載 PDF選擇的小節所選的小節與子小節完整手冊已更新2025-07-30閱讀時間為 2 分鐘LabVIEWAPI 參考LabVIEW G Use the Datalog functions to open and close datalog files, read from and write to datalog files, get and set datalog file positions, and get and set the number of datalog records. Open/Create/Replace Datalog FunctionOpens an existing datalog file, creates a new datalog file, or replaces an existing datalog file, programmatically or interactively using a file dialog box. This function does not work for files inside an LLB.Read Datalog FunctionReads records from an open datalog file specified by refnum and returns it in record(s). Reading begins at the current datalog position. Use the Set Datalog Position function to move the current datalog position of the file.Set Datalog Position FunctionMoves the current datalog position of the file identified by refnum to the datalog position indicated by offset (in records) according to the mode in from.Set Number of Records FunctionSets the size in records of the datalog file identified by refnum.Write Datalog FunctionWrites record(s) to an open datalog file specified by refnum. Sets the current datalog position to the end of the file before writing.Get Datalog Position FunctionReturns the current datalog position of the datalog file specified by refnum.Get Number of Records FunctionReturns the size in records of the datalog file identified by refnum.Close File FunctionCloses an open file specified by refnum and returns the path to the file associated with the refnum.Parent topic: Advanced File Functions
Use the Datalog functions to open and close datalog files, read from and write to datalog files, get and set datalog file positions, and get and set the number of datalog records. Open/Create/Replace Datalog FunctionOpens an existing datalog file, creates a new datalog file, or replaces an existing datalog file, programmatically or interactively using a file dialog box. This function does not work for files inside an LLB.Read Datalog FunctionReads records from an open datalog file specified by refnum and returns it in record(s). Reading begins at the current datalog position. Use the Set Datalog Position function to move the current datalog position of the file.Set Datalog Position FunctionMoves the current datalog position of the file identified by refnum to the datalog position indicated by offset (in records) according to the mode in from.Set Number of Records FunctionSets the size in records of the datalog file identified by refnum.Write Datalog FunctionWrites record(s) to an open datalog file specified by refnum. Sets the current datalog position to the end of the file before writing.Get Datalog Position FunctionReturns the current datalog position of the datalog file specified by refnum.Get Number of Records FunctionReturns the size in records of the datalog file identified by refnum.Close File FunctionCloses an open file specified by refnum and returns the path to the file associated with the refnum.Parent topic: Advanced File Functions
Use the Datalog functions to open and close datalog files, read from and write to datalog files, get and set datalog file positions, and get and set the number of datalog records. Open/Create/Replace Datalog FunctionOpens an existing datalog file, creates a new datalog file, or replaces an existing datalog file, programmatically or interactively using a file dialog box. This function does not work for files inside an LLB.Read Datalog FunctionReads records from an open datalog file specified by refnum and returns it in record(s). Reading begins at the current datalog position. Use the Set Datalog Position function to move the current datalog position of the file.Set Datalog Position FunctionMoves the current datalog position of the file identified by refnum to the datalog position indicated by offset (in records) according to the mode in from.Set Number of Records FunctionSets the size in records of the datalog file identified by refnum.Write Datalog FunctionWrites record(s) to an open datalog file specified by refnum. Sets the current datalog position to the end of the file before writing.Get Datalog Position FunctionReturns the current datalog position of the datalog file specified by refnum.Get Number of Records FunctionReturns the size in records of the datalog file identified by refnum.Close File FunctionCloses an open file specified by refnum and returns the path to the file associated with the refnum.Parent topic: Advanced File Functions