TDMS Advanced Synchronous Write Function

Owning Palette: TDMS Advanced Synchronous I/O Functions

Requires: Base Development System

Writes data to the specified .tdms file synchronously.

Example

 Add to the block diagram  Find on the palette
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.
data specifies the data to write to the .tdms file. This input accepts a 1D or 2D array of integers, floating-point numbers, Booleans, and timestamps. If the disable buffering? input of the TDMS Advanced Open function is TRUE, the size of data must be a multiple of the sector size and the array size must be less than 67,076,096 bytes on x86 systems, 67,051,520 bytes on IA-64 systems, or 33,525,760 bytes on x64 systems. Refer to the Microsoft Developer Network Web site at msdn.microsoft.com for more information about calculating the maximum array size.
Note  You can wire the following floating-point numbers to this input:
  • Single-precision and double-precision floating-point numbers
  • Complex single-precision and double-precision floating-point numbers
  • (Windows) Extended-precision floating-point numbers
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
tdms file out returns a TDMS file reference to the .tdms file on which you performed the operation.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the TDMS Advanced Synchronous Write 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 Write function.

 Open example  Find related examples