08-07-2023 07:18 PM
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!
08-07-2023 07:36 PM
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
08-07-2023 07:42 PM
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!
08-08-2023 09:07 AM
@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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord