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.

TSW14J56EVM: HSDC Pro Automation DLL Python Script.

Part Number: TSW14J56EVM

Hi

I found a Python example for HSDC Pro Automation DLL in the forum (link). It works quite well except for saving data into CSV file. Sometimes the data is not correctly saved,the problem is shown in the below image.

How do I fix this problem? or Is there a new version of HDSC Pro Automation DLL Python Script ? (since the one I have is in 2014).

(I posted a very similar post, but there is a problem and the post does not show correctly. Please help me to remove it if it's duplicated, since I cannot find option to remove the post myself. Thanks)

Thanks,

Bien Le

  • Hello Bien, are you able to attach the CSV file ? I will look into this.
    Regards,
    Brian
  • Hi Brian

    Thanks for quick response.

    Attached is the csv data.

    testData.zip

  • Bien,
    We are not able to reproduce the error with the latest HSDC Pro version 4.8 (available on TI.com)

    Can you give me some additional information about your setup:
    What ADC are you using, rate, and sample count (basically, what is the setup for us to try to reproduce)
    What version HSDC pro are you using (Help->About)

    Also, is it possible for you to install the latest HSDC Pro version from TI.com ?
    The python script should work with the new version as well.

    Regards,
    Brian
  • Hi Brian

    I'm current using HSDC Pro version 4.5. I'll install the HSDCPro v4.8 and try again with the Python-Script.

    Regard my setup, i'm using a AFE58JD18EVM and a TSW14J56 for capturing data. The sampling rate is 50MHz and the sample number is 65536 samples. I configured AFE58JD18EVM to output a test ramp and captured the test ramp. I have seen that when saving data with HSDCPro GUI the data was correctly saved in csv file. However when capturing and saving data with Python-Script (namely hsdcdll.Save_Raw_Data_As_CSV), then the error as mentioned above occurs.

    Thanks

    Best regards,

    Bien

  • Hello Bien,
    We could not duplicate this issue using an HSDC Pro version 4.5 install.

    Can you confirm if the upgrade to 4.8 solved the issue?

    If not, we would still recommend you use 4.8 going forward as it will be easier to debug.
    If the bug still persists please try this in 4.8 and send us your result:
    Use your python script to save a capture (with error in CSV file) but stop the script at this point
    Go back to HSDC Pro GUI and save the CSV without retriggering
    The results of those two files will help us debug the problem please send them to us.

    Please let us know what you find.

    Regards,
    Brian