DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

separating 16 bits of data into one 12 bit and one 4 bit channel

Stefan,

I understand your concerns. I don't think there is enough information available by just adding channels to the binary blocks. There is no way to guess whether two channels share the same byte or whether they belong to a different one. Even with the bit masks and start byte you would have to guess from which byte to read the bits.

I forgot to ask how you produce the files. Is the software which produces the files something you developed ? Just in case would it makes sense to take the TDM/TDMS file format into consideration ? The format is self describing so you don't have to change the reading code when you change the channel setup.

Would this be an option for the future ?

Andreas

0 Kudos
Message 21 of 22
(1,158 Views)

Hi Andreas,
thank you for the hint! The TDM file format would be indeed a good option. I can't influence the process of data generation right now, but in the future, it should be possible to adapt the data generation to TDM format.

Thanks a lot for your helpful contribution to my problem/question!!!

Kind regards,
Stefan

0 Kudos
Message 22 of 22
(1,147 Views)