TDMS_GetNumDataValues
- Updated2023-02-21
- 2 minute(s) read
int TDMS_GetNumDataValues (TDMSChannelHandle channel, unsigned __int64 *numberOfValues);
Purpose
Obtains the number of data values in the specified channel.
Parameters
| Input | ||
| Name | Type | Description |
| channel | TDMSChannelHandle | The channel handle. |
| Output | ||
| Name | Type | Description |
| numberOfValues | unsigned __int64 | The number of data values in the specified channel. |
Return Value
| Name | Type | Description |
| status | int | Return value indicating whether the function was successful. Unless otherwise stated, zero represents successful execution and a negative number represents the error code. Error codes are defined in cvi\include\cvitdms.h. |
Additional Information
Library: TDM Streaming Library
Include file: cvitdms.h
LabWindows/CVI compatibility: LabWindows/CVI 8.1 and later
© 2016 National Instruments. All rights reserved.
Examples
Refer to the following examples that use the TDMS_GetNumDataValues function:
- TDM Streaming\tdmsReader.cws
Open example - TDM Streaming\Advanced Read and Write\TDMS Advanced Async Read\TDMS Advanced Async Read.cws
Open example - TDM Streaming\Advanced Read and Write\TDMS Advanced Async Read Throughput Test\TDMS Advanced Async Read Throughput Test.cws
Open example - TDM Streaming\Advanced Read and Write\TDMS Advanced Sync Read\TDMS Advanced Sync Read.cws
Open example - TDM Streaming\Advanced Read and Write\TDMS In Memory Write and Read\TDMS In Memory Write and Read.cws
Open example