Writes data to the specified .tdms file synchronously.


icon

Inputs/Outputs

  • cgnrn.png tdms file

    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.

  • c1di8.png data

    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
  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ignrn.png tdms file out

    tdms file out returns a TDMS file reference to the .tdms file on which you performed the operation.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\File IO\TDMS\Advanced Read and Write\Synchronous Read and Write\TDMS Advanced Synchronous Write.vi