Configures the offset at which the TDMS Advanced Asynchronous Read function starts reading data from a .tdms file.


icon

Inputs/Outputs

  • cstr.png channel name in

    channel name in specifies the channel on which to perform the operation.

  • cstr.png group name in

    group name in specifies the group on which to perform the operation.

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

  • ci64.png offset (0)

    offset specifies how far in the raw data from the location specified by from to set the file position. The default is 0. If the disable buffering? input of the TDMS Advanced Open function is TRUE, the next read position you set must be a multiple of the sector size of the hard disk.

  • cenum.png from (0: start)

    from specifies where to set the file position in the raw data based on the offset.

    0start (default)—Sets the file position offset samples from the beginning of the raw data in the .tdms file. If the value of from is 0, the value of offset must be equal to or greater than 0, which sets the file position at the beginning of the raw data.
    1end—Sets the file position offset samples from the end of the raw data in the .tdms file. If the value of from is 1, the value of offset must be equal to or less than 0, which sets the file position at the end of the raw data.
  • 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\Asynchronous Read and Write\TDMS Advanced Finite Asynchronous Read.vi
    • labview\examples\File IO\TDMS\Advanced Read and Write\Asynchronous Read and Write\TDMS Advanced Prefetched Asynchronous Read.vi
    • labview\examples\File IO\TDMS\Advanced Read and Write\Synchronous Read and Write\TDMS Advanced Synchronous Read.vi