02-06-2025 01:22 PM
There's also the Excel addin to view TDMS files, supplied by NI themselves:
(Note it loads a TDMS file into Excel, you don't view the TDMS directly, and you can't save back TO a TDMS from Excel, but you can view all of the data very easily.)
02-06-2025 05:46 PM - edited 02-06-2025 05:52 PM
@LuminaryKnight wrote:
I created a very simple VI that starts with U32 and increments the U32 and shifts it around. Each iteration, the incremented value is converted to Single Precision. I instructed the loop to stop if the previous SGL is equal to the current SGL. Attached are the final numbers once it hits a repeat value.
If you do the counting in U32, and convert to SGL for display it will continue to increment, just not every time. For example after a while it will only increment by 4 every 4th iteration.
I really don't know what "shifts it around" means. I assume you increment in a shift register. Here, a shift register is a single in-place memory location, nothing to do with "shifting" and "around". 😄
02-07-2025 07:56 AM
@altenbach wrote:
I really don't know what "shifts it around" means. I assume you increment in a shift register. Here, a shift register is a single in-place memory location, nothing to do with "shifting" and "around". 😄
It's a new phrase I'm coining. Cuz you know, a while loop is a roundish circle. Shift register sits on the edges... so... you shift data around. Give it time, all the cool kids will be saying it.
02-07-2025 10:07 AM
@LuminaryKnight wrote:
@altenbach wrote:
I really don't know what "shifts it around" means. I assume you increment in a shift register. Here, a shift register is a single in-place memory location, nothing to do with "shifting" and "around". 😄
It's a new phrase I'm coining. Cuz you know, a while loop is a roundish circle. Shift register sits on the edges... so... you shift data around. Give it time, all the cool kids will be saying it.
Data remains in place. You read from the left and overwrite the same memory location on the right.
(In computing, a shift is often something very different. Still, I agree that the naming of shift register could have been better, but that was coined well over 40 years ago... 😄 )
02-11-2025 03:42 PM
For anyone who might care how this ended, saving an array of cluster to binary file and then ingesting in a different language (in this case, Python) was actually very doable. Other developer just parsed the binary file with the datatype structure I gave him and voila. The data matched. We came up with a unique header for the future in case the data changes which... probably(famous last words)... won't. I'm sure we ended up reinventing the wheel (TDMS files) but... whatever. Thanks for all the help.