Part Number: ADS58J89
I am working with a ADS58J89 as my ADC and a TSW14J56 as the capture card.
I was wondering how to export real-time data of all the 4 channels from HSDCpro to Matlab for processing. Do I need to install any interface?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Ebenezer Dwobeng:
Thanks for the help.
Well, I opened the Matlab codes and after putting the right serial number of the ADC and Capture card, and giving the right path and name of the firmware to Matlab, I ran Matlab.
First, HSDC pro stopped showing data on its screen. The following figure:
I imported the right path of everything. Here is a screenshot of my Worksapce in Matlab.
I went ahead and checked the directory the data is supposed be saved, but the CSV file is empty. Do you have any idea why it is not saving data?
Also, here is my command window:
Please open the HSDCPro GUI before using these Automation DLL functions.Press ENTER to start...
Connecting to board : T825T9tu-TSW14J56revDError Status = 0 (No Error)
Selecting ADC Device : ADS58Jx_LMF_442Error Status = 0 (No Error)
Passing ADC Output Data Rate = 250000000Error Status = 0 (No Error)
ADC Input Target Frequency = 169990000Error Status = 0 (No Error)
Number of Samples per Channel = 65536Error Status = 0 (No Error)Warning: Escaped character '\A' is not valid. See 'doc sprintf' forsupported special characters. > In HSDCPro_Automation_DLL_ADC_Example_64bit (line 102)
Error Status = 0 (No Error)
Applying FFT Notch Filter SettingsError Status = 0 (No Error)
Applying Trigger SettingsError Status = 0 (No Error)
Start Normal Capture. Press ENTER to continue...
Starting Normal Capture...Error Status = 7014 (Read DDR to File Timeout Error.)
Checking if HSDCPro GUI has completed all its operations...Error Status = 0 (No Error)
Saving ADC Raw Data as CSV file at C:/HSDCPro Data/ADCdata.csvError Status = 0 (No Error)
Test Selection Option = 1 (Time Domain-0; Single Tone-1; Two Tone-2; Channel Power-3)Error Status = 0 (No Error)
Graph Plot Type = 2 (Codes - 0; Bits - 1; Real FFT - 2; Complex FFT - 3)Error Status = 0 (No Error)
FFT Window Type = 3 (Rectangular - 0; Hamming - 1; Hanning - 2; Blackman - 3)Error Status = 0 (No Error)
Saving ADC FFT as PNG image at C:/HSDCPro Data/ADCFFT.pngError Status = 0 (No Error)
Selecting the ADC Channel Index = 0Error Status = 0 (No Error)
Getting the FFT Data of the active channel.Error Status = 0 (No Error)
Getting the Single Tone Parameter Values.Error Status = 0 (No Error)The Parameter Values are:SNR = 0 dBFsSFDR = 0 dBcTHD = 0 dBFsSINAD = 0 dBFsENOB = 0 BitsFund. = 0 dBFsNext Spur = 0 dBFsHD2 = 0 dBcHD3 = 0 dBcHD4 = 0 dBcHD5 = 0 dBcNSD = 0 dBFs/Bin
Disconnecting from the boardError Status = 0 (No Error)
In reply to Farshid Tamjid:
Actually I read the readme.txt file and I followed the instructions. I use 64bit Matlab DLL, so I installed 64-bit labview run time engine.
Can you try with the ini file attached. Put the ini file in the directory below and then restart HSDCPRO
C:\Program Files (x86)\Texas Instruments\High Speed Data Converter Pro\14J56revD Details\ADC files
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.