TDMS Get Asynchronous Read Status (Data Ref) Function

Owning Palette: TDMS Advanced Data Reference I/O Functions

Requires: Base Development System (Windows)

Returns the number of pending asynchronous reads issued by the TDMS Advanced Asynchronous Read (Data Ref) function.

Tip  Use this function when you monitor an application that issues a series of asynchronous reads over a long period of time. By querying the number of pending reads and keeping track of the highest value this function returns, you can choose an appropriate value for the max asynchronous reads input of the TDMS Configure Asynchronous Reads (Data Ref) function.

 Add to the block diagram  Find on the palette
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.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
tdms file out returns a TDMS file reference to the .tdms file on which you performed the operation.
number of pending reads returns the number of asynchronous reads that have not completed. You can use this information to monitor a read-from-disk operation.
error out contains error information. This output provides standard error out functionality.