Owning Palette: Datalog Functions
Requires: Base Development System
Reads 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.
Add to the block diagram | Find on the palette |
refnum is the file refnum associated with the file you want to read. If you want to read more than one element at a time, wire the count parameter. | |
count is the number of datalog records to read. The function returns count data elements in record(s), or if it reaches the end of the file, it returns all the complete data elements read thus far and an end-of-file error. By default, the function returns a single data element. If count is –1, the function reads the entire file. If count is less than –1, the function returns an error. If count calls for an array of elements and the record(s) data type is an array, the function automatically returns a cluster of arrays or cluster array because LabVIEW does not allow arrays of arrays. |
|
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |
refnum out returns refnum. | |
record(s) contains the datalog records read from the file. | |
error out contains error information. This output provides standard error out functionality. |