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.

DATACONVERTERPRO-SW: CSV file input

Hi,

I would like to find out what the input parameters of the CSV file are, if I wanted to generate my own data, e.g. using some python script from my own device. All for: https://www.ti.com/tool/DATACONVERTERPRO-SW

My data is in IQ format of products from 4 channels.

  • Hi Jiri,

    The CSV file should not have any headers. Channel 1 data should be column 1 of the csv and each subsequent channel in HSDC Pro will import data from the following columns of the CSV. If you have 4 channels to represent 2 IQ signals, Channel 1 I-data will be column A of the csv, Channel 1 Q-data will be column B of the csv, Channel 2 I-data column C, Channel 2 Q-data column D. The values should be in two's complement data format. You can have more than 2^19 samples in your pattern, but note that HSDC Pro will not show a display of the full pattern but will only display the first 2^19 samples per channel.

    Regards, Chase

  • Hi Chase,

    Thank you for your answer. But can you show me one line of CSV file? For example, I have data. Because I've read it 2 times but I still can't see it. Cry

    count = 0 # max count = 65552 samples
    value_I_chan1 = 1
    value_Q_chan1 = 10
    value_I_chan2 = 2
    value_Q_chan2 = 20
    value_I_chan3 = 3
    value_Q_chan3 = 30
    value_I_chan4 = 4
    value_Q_chan4 = 40


  • Hi Jiri,

    Certainly. Please see here: example.csv

    In this example, Sample 1 refers to the top line only. Sample 2 is the second line and in my example, I have incremented all of the previous sample by 1 value. Same for sample 3. Since you are using 4IQ signals, note that the device in HSDC Pro should be an 8 channel device as the odd channels refer to the I-data and the even channels refer to the Q-data. Does this help?

    Regards, Chase

  • Thank you Chase. I played with it at night. And it seems to be working. Slight smile