Creates an empty .tdms file in memory for reading or writing. You also can use this function to create a file in memory from a byte array or file on disk.

Use the TDMS In Memory Close function to close the reference to this file.


icon

Inputs/Outputs

  • c1du8.png byte array or file path

    byte array or file path specifies the byte array or file path from which to create a .tdms file in memory. The byte order of the byte array or file on disk, if specified, determines the byte order of the .tdms file in memory this function creates.

    If you do not specify byte array or file path, this function creates an empty .tdms file in memory that uses the byte order of the host computer.
  • 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\TDMS In Memory Write and Read.vi
    • labview\examples\File IO\TDMS\Advanced Read and Write\In Memory Network Read and Write\TDMS In Memory Network Read and Write.lvproj