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: and ADC12J4000EVM

Part Number: TSW14J56EVM

Hi, 

I would like to capture waveforms measured by the ADC12J4000EVM (LiDAR application) directly through C/C++ or MATLAB - it there a possibility to transfer the data directly instead of saving to a .csv or binary file and reading it in?

I've noticed that I can get the FFT data directly, but getting the FFT data and then transforming back seems silly. 

Alternately, if the automation DLL code is available I'd be quite happy to add a function to do that myself. 

Any help is appreciated,  

Yoni

  • automation files.pptxYoni,

    You can find automation information under the location shown (Automation Function APIs & HSDCPro Automation DLL folders) in the attached file after HSDC Pro GUI has been installed on your PC. These should help with what you are trying to accomplish.

    Regards,

    Jim

  • Hi,
    I have thoroughly read the HSDC Pro documentation including the section on automation, and have combed through the supplied C and Matlab examples as well as the manual (found in the "HSDCPro Automation DLL" folder), and I have found functions such as "get_FFT_data" and "ADC_Save_Raw_Data_As_Binary_File", but I am searching for something like "ADC_get_raw_data".
    I hope this better expresses what I've already found and what I am still looking for.
    Yoni
  • Yoni,

    At this point we don’t support automation function to grab the Raw data directly from HSDC Pro. It needs to be exported into a file before other applications can make use of it. This is to prevent memory overloading when the capture size is really big.

     

    Regards,

     

    Jim

     

  • Hi Jim,

    I'm sorry, but your answer makes no sense, because:
    1. I can get the full Fourier transform data, which takes twice as much memory (for a complex transform).
    2. It is always the responsibility of the programmer using your software to manage their own memory use. Why is this case different?
    3. The data is already present in the HSDC Pro program. Why prevent access to it?

    I would be very disappointed if such a trivial matter prevented me from using your products.

    Yoni
  • Yoni,

    The data is accessible. I am not sure why you are saying it is not. See section 3.1.1 of the High Speed Data Converter Pro GUI User's Guide which can be found on the TI website.

    Regards,

    Jim

  • Hi,
    As per my original inquiry, only via the hard-drive (which is very slow), rather than directly. One could joke that I'm getting my "Pro data converted", but not at "high speed"....

    Thank you for your help so far, but could you possible send me the source code for the automation DLL so that I may write in the functionality I require myself?

    Yoni
  • Yoni,

    HSDC Pro is designed to capture Gbytes of data from TSW capture card’s DDR memory all of which cannot be kept in the PC RAM because not every user of HSDC Pro is expected to have PCs with bigger RAM. So it is intentionally designed to dump the data into Hard driver as bin files to make it usable for all type of users. I agree this is not the fastest method, but is reliable. 

    To clarify on FFT calculation, for FFT calculation, we allow up to max of 512Ksamples/channel of raw data to be processed, so what you get with “get_FFT_data” API doesn’t always take the whole Gbytes of captured data in to PC RAM for FFT calculation instead it depends on the “Analysis window (Samsple)” parameter selected in the HSDC Pro window. This restriction is mainly due to the FFT calculation library used that sometimes crashed customer PCs when huge raw data set is applied for processing – due to memory restrictions and CPU overloading.

     

    I agree with your pain point, and perhaps you don’t need to capture Gbytes of data or you might have enough RAM memory & a good PC. If so your use case will benefit from a “get_raw_data” API. We are looking to add this in the next HSDC Pro release v5.1 which is expected in a month time frame tentatively. This might serve you better.

    Regards,

    Jim

     

  • Hi Jim, 

    Thank you for your response - that clears things up a lot. 

    I will be looking forward to release 5.1. 

    Yoni