This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ADC12J4000: How to read output data 0f ADC12J4000

Part Number: ADC12J4000

Hi,

when I save the output data of ADC12J4000  in binary, how to read the binary file with Matlab?

Thanks.

  • Peng,

    We are looking into this.

    Regards,

    Jim
  • Peng,

    You can write a Matlab script to read & parse the binary file that gets saved as described below. We don’t have any Matlab example for reading & Parsing the file.

     

    When the captured data is saved as a Binary file, the binary file contains the time domain data of all channels in interleaved format. So in a 2 Channel device, the data would be aligned as follows:

    CH1S1[LSB], CH1S1[MSB], CH2S1[LSB], CH2S1[MSB], CH1S2[LSB], CH1S2[MSB], CH2S1[LSB], CH2S1[MSB]…

    [CH – Channel , S- Sample]

     

    If the Sample size (ADC Resolution) is less than or equal to 16, then the binary file would use 16 bits to represent the sample. If the Sample size is greater than 16, 32-bits are used to represent the sample data.

     

    Regards,

     

    Jim

  • Peng,

    If you do not need anymore information regarding this, I would like to close this post.

    Regards,

    Jim