TDMS Get Asynchronous Write Status Function

Owning Palette: TDMS Advanced Asynchronous I/O Functions

Requires: Base Development System (Windows)

Retrieves the number of pending asynchronous writes issued by the TDMS Advanced Asynchronous Write function.

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

Example

 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 writes returns the number of pending asynchronous writes issued by the TDMS Advanced Asynchronous Write function.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the TDMS Advanced Ring Buffer VI in the labview\examples\File IO\TDMS\Advanced Read and Write\Asynchronous Read and Write directory for an example of using the TDMS Get Asynchronous Write Status function.

 Open example  Find related examples