TDMS Advanced Asynchronous Write Function

Owning Palette: TDMS Advanced Asynchronous I/O Functions

Requires: Base Development System (Windows)

Writes data to the specified .tdms file asynchronously. This function can initiate multiple asynchronous writes that take place in the background. You can use the TDMS Get Asynchronous Write Status function to query the number of pending asynchronous writes.

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
  • 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 Asynchronous Write VI in the labview\examples\File IO\TDMS\Advanced Read and Write\Asynchronous Read and Write directory for an example of using the TDMS Advanced Asynchronous Write function.

 Open example  Find related examples