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.

Can MATLAB takes place of the High speed data converters2.0 GUI

Other Parts Discussed in Thread: ADS4229

Hi

When i connect TSW1400 with ADS4229 and after i captured the data . I want to process the data i got directly by MATLAB. Not by saving the data through the GUI  and then processing it .

so can you provide me the MATLAB code for ADS and DAC ?  I would be very grateful for you help .

tao chang

  • Could you clarify? I'm not quite sure what you mean.

    You don't want to save the data from the WaveVision 5 GUI?

    What is it that you want to do instead? I don't think you'll be able to replicate the functionality of WaveVision 5 in MATLAB, if that is what you are asking.

  • I mean that  when  i connect 1400 with  ADC .can i connect 1400 with matlab installed on my PC by the USB. instead of GUI ?

  • I doubt that you'll find a pre-packaged solution to connecting MATLAB to the TSW1400 (though, in theory, I'm sure it's possible).

    Is the problem just that it takes extra time to download the files from the GUI and then process them in MATLAB? (How frequently are you gathering new data and processing it? Your best bet is to probably just manually grab the data from the GUI unless you are doing this many, many times... because I think an automated solution will require you to develop a new tool.)

  • Hi Tao Chang,

    The TSW1400 and HSDC Pro can be controlled by using the DLL provided with the TSW1400 install.

    C:\Program Files (x86)\Texas Instruments\High Speed Data Converter Pro\1400 Details\TSW1400 Matlab Code

    This directory has a matlab example of how to do this.  Look at the Read Me.txt

    We don't officially support this but have provided this example code to help customers that want to connect Matlab/Labview to our TSW1400 by re-using the DLL and API.

    Ken

  • Hi ken 

    thank you for your help

    The directory has only the ADS example ,if you can provide me the DAS example?

    And i just can't find the Read Me.txt  Can you send it to me ? thanks 

    tao chang 

  • Hi Tao Chang,

    Sorry for the misleading info.  I was looking at my directory and I had assumed it was included in the default installer - it is not currently included in the public installer.

    Although we do not officially support this mode of operation we have provided an example for this due to popular request.  Please see attached zip file.  If you need more info on the API calls you can refer to the API document in the 1400 Details folder.

    8666.TSW1400_Matlab_Code.zip

    Ken

  • Hi ken 

    Thank you for your help .

    Do you have the DAS3152 example (MATLAB code )  ?   if you have it .can you send it to me ? thank you 

    tao chang 

  • Hi,

    We don't have any specific examples for every converter.  However you should be able to use the existing example and the existing firmware files with the HSDC Pro installation to get everything working.

    We will have other examples for Matlab in the next release of the GUI - current version is 2.0.

    Ken.