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.

Compiler/TDC1000-TDC7200EVM: MATLAB how to link with TDC1000

Part Number: TDC1000-TDC7200EVM
Other Parts Discussed in Thread: TDC1000

Tool/software: TI C/C++ Compiler

Hello,

I am still new with the TDC1000. Using the GUI software, I can get the signal waveform and the TOF of the liquid material. However, I need to link the MATLAB with the GUI. To actually later on I need to check the impurities of the liquid using the TOF obtain from the GUI. But, I dont know how to actually get the MATLAB to recognized the GUI or vice versa. 

Can anyone help me out?

Thanks.

  • Hello,

    There is no provision for direct interface between the GUI and Matlab. If you do not need realtime interaction, you can save the data from the GUI into a file on the Graph tab. From there you can import this file (a .csv) into matlab for processing.

    If you would like the data to stream directly into matlab, you will have to access it via USB. There are some demo projects in the TDC1000-TDC7200EVM folder installed withi the GUI that demonstrate how the USB communication is set up. These are located here: C:\Program Files (x86)\Texas Instruments\TDC1000_7200EVM\Firmware\code\demo_apps

    Regards,
  • Hello,

    Thanks for the reply. But seems like I can't get the water signal properly. I'm using the 1Mhz transducer, the GUI showed the x-axis the time domain in seconds while the y-axis showed the TOF. But, after converting the graph obtain from GUI (saved in excel first) to FFT domain using MATlab still I can't find the signal. How do I make sure the water signal obtain is not noise but instead the water signal itself. The problem is how do I searched for the water signal from all the signal obtain? The avg element from GUI is already changed value from 10 to 1000. The oscilloscope showed the TOF calculated is 116us.

    Do give some advice regarding this matter. Thanks,
    Ajeera.