Owning Palette: TDMS Advanced Synchronous I/O Functions
Requires: Base Development System
Reads the specified .tdms file and returns data in a format specified by the data type input.
Add to the block diagram | Find on the palette |
count specifies the maximum number of data elements you want to read. The default is -1, which specifies that this function reads all data elements. If the disable buffering? input of the TDMS Advanced Open function is TRUE, the value of (count * the length of data type) must be a multiple of the sector size. You can calculate the size, in bytes, that this function reads by multiplying the value of count by the number of bytes of data type. For example, if the value of count is 512 and data type is an unsigned 16-bit integer, then you can calculate the size that this function reads as follows: 512×(16÷8) = 1024 bytes. |
|||
tdms file specifies a reference number to the .tdms file on which to perform the operation. Use the TDMS Advanced Open function to open the refnum. | |||
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |||
data type specifies the type of data on which you want to perform the operation. This input accepts integers, floating-point numbers, Booleans, and timestamps.
|
|||
tdms file out returns a TDMS file reference to the .tdms file on which you performed the operation. | |||
data returns the data this function reads from the .tdms file in the specified data type. | |||
error out contains error information. This output provides standard error out functionality. | |||
read process finished? indicates whether the reading process finished or not.
|
Refer to the TDMS Advanced Synchronous Read VI in the labview\examples\File IO\TDMS\Advanced Read and Write\Synchronous Read and Write directory for an example of using the TDMS Advanced Synchronous Read function.