Reads a .tdms file in memory and returns data as an unsigned 8-bit integer array data type.


icon

Inputs/Outputs

  • ci64.png byte count (-1: all)

    byte count specifies the maximum number of bytes to read from the .tdms file in memory. The default is -1, which means this function reads all available bytes.

    If the value of byte count is out of range, this function automatically sets byte count to equal the number of bytes in the file minus offset.
  • ci64.png offset (0)

    offset specifies the number of bytes into the .tdms file at which the function begins reading the .tdms file. The default is 0.

  • cgnrn.png tdms file

    tdms file specifies a reference number to the .tdms file in memory on which to perform the operation. Use the TDMS In Memory Open function to open the refnum.

  • 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.

  • i1du8.png data

    data returns the data read from the .tdms file in memory as an unsigned 8-bit integer array data type.

  • 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