DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

maximum values in TDMS channel

Hello,

 

I have been experimenting with writing very large TDMS files using the TDM C DLL. I've been running into this error when trying to append values into a channel: "Error: The request would exceed the maximum number of data values for a channel." I was wondering if this maximum number in one channel is explicitly written anywhere, as I've only been able to find that a file can have infinite groups and a group can have infinite channels. If not, how could I tell that I'm about to exceed the maximum number and make a new channel / group to store my values? 

 

Thanks!

0 Kudos
Message 1 of 4
(1,038 Views)

I guess the limit is in the index data types used by the file format i.e., U32.

 

https://www.ni.com/en/support/documentation/supplemental/06/the-ni-tdms-file-format.html

https://www.ni.com/en/support/documentation/supplemental/07/tdms-file-format-internal-structure.html

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 4
(1,029 Views)

Could you elaborate more on what you mean by index data types? I'm not super familiar with how data types would affect the file. Thank you!

0 Kudos
Message 3 of 4
(1,022 Views)

@santo_13 wrote:

I guess the limit is in the index data types used by the file format i.e., U32.

 


Are you sure this is a U32?  When I drop down a TDMS Read the Index data type is an I64.  I assumed this meant it could address very large amounts of data per channel.  Admittedly I'm not sure I've ever logged over 4 billion values of anything to a TDMS file before.

0 Kudos
Message 4 of 4
(973 Views)