Showing results for 
Search instead for 
Did you mean: 

Interpret a binary data channel

I have a TDMS file that contains a U64 data channel. There's a binary interpretation of each U64 like this: bit 0..7 is current; bit 8..15 is voltage; bit 16 is a status; ... 


I would like to split these bits into separate channels (and group them when appropriate, like for voltage and current) upon calling a script. However I couldn't find any function to do this interpretation (I'm on Diadem 2020, if that's relevant). Do you have an idea on how to accomplish this?


It would be possible to save as separate channels at the source, but the file size of the TDMS file rises very quickly when doing that; so that's not an option for me. I'd really like to do this in memory when required.

Although I've been 10+ years long fan of LabVIEW, I started to discourage engineers to start new projects in a SaaS language. NI must first regain trust within its community.
0 Kudos
Message 1 of 1