Retrieves the number of buffers that contain data available for the TDMS Advanced Asynchronous Read function to read.


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.

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

  • iu32.png number of buffers available

    number of buffers available returns the number of buffers that contain data for the TDMS Advanced Asynchronous Read function to read.

  • ibool.png all buffers full?

    all buffers full? indicates whether all the buffers are full of data for the TDMS Advanced Asynchronous Read function to read.

    This output also can be TRUE even when the number of buffers available output of this function is not equal to the number of buffers input of the TDMS Configure Asynchronous Reads function under the following conditions:
    • The TDMS Advanced Asynchronous Read function reaches the end of a .tdms file.
    • The TDMS Advanced Asynchronous Read function finishes reading the total count of data that you specify in the TDMS Start Asynchronous Reads function.
    Tip Use this Boolean value as one of the stop conditions for a While Loop. For example, you can put the TDMS Get Asynchronous Read Status function in the While Loop and wire the all buffers full? output to the Stop if True conditional terminal of the While Loop. You then can start asynchronous reads by using the TDMS Start Asynchronous Reads function and wait for the all buffers full? value to become TRUE. When this value becomes TRUE, you can use the TDMS Advanced Asynchronous Read function to read the data from the buffers.
  • 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