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 API library

Dear TI,

Thank you for good evaluation board and GUI. Unfortunately I didn't find the possebility to save samples to the HDD. Is it possible to control the  TSW14J56EVM via external dll library?

Thank you!

--

Dmitrii

  • Dmitril,

    Please have a look at this diretcory within the HSDC Pro installation:

    C:\Program Files (x86)\Texas Instruments\High Speed Data Converter Pro\HSDCPro Automation DLL\Manual and Examples

    The manual has a list of the ADC and DAC functions - these are the same as available through the HSDC Pro GUI.

    Unfortunately there is no means to get the data directly into Matlab, you must capture the data and then parse the data file into Matlab for processing.  The Automation DLL controls the HSDC Pro GUI, and you must work within these confines.  There is no direct implementation of the functions of HSDC Pro within the DLL.

    Regards,

    Jim

  • Hello Jim! Thank you for your reply.

    I found very useful examples at directory given.

    I successfully attached HSDCPro Automation DLL to my C project. After funciton calls (like Connect_Board, Select_ADC_Devivce etc) I have error code 5000. What does it mean? Could you link me to general error codes legend?

    Thank you.

    --

    With Best Wishes,

    Dmitrii

  • Dmitrii,

    We get the error code 5000 if the Automation Function times out. When the Automation function API tries to use HSDC and if HSDC Pro is not responding to the Automation API within the expected time (if it is doing some other operation or if there is a popup), then it times out.  We have exposed the Timeout as a parameter in the Automation Function. If we don't specify a value to the parameter or if we give 0, then it will timeout always and give error 5000.

     Please find the Automation DLL Error codes file which has description for each error code attached.

    Regards,

    Jim

    Automation DLL Error Codes.csv