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: Faster data capture in .csv file format using MATLAB to interface with HSDCPro

Part Number: TSW14J56EVM

I am trying to increase the rate at which MATLAB can capture/fetch .csv raw data from the HSDCPro software.  I have used the example MATLAB code successfully, but have been unable to acquire frame data (in .csv format) faster that roughly 1 software triggered event / second.  I have tried a number of different approaches to increase the rate without success.  The following is a code snippet from MATLAB

NumberOfSamplesPerChannel = 65536;
NumberOfSamplesForAnalysis = 65536;
ChannelIndex=0; % Interested channel's index(0-based)

% Trigger Settings
TriggerModeEnable=1; % Enable Trigger - 1; Disable Trigger - 0
SoftwareTriggerEnable=1; % Hardware Trigger - 0; Software Trigger - 1
ArmOnNextCaptureButtonPress = 0;
TriggerCLKDelays = 0; % The number of clock delays for the trigger
WaitToCheckTrigger = 1; % 0 - Don't Wait, 1 - Wait and check whether trigger has occurred. NOTE:  I have tried to also suppress the wait and check without improvement in capture rate.

In addition, I make dll calls to configure the board and load the firmware.

In the remaining code, I only make a call to the dll to save the .csv file

Here is the call...

[Error_Status] = calllib('HSDCProAutomation_64Bit','Save_Raw_Data_As_CSV',CSVFilePathWithName,TimeoutInMs);

I can increase the rate by decreasing the number of samples, but prefer to keep the rate at least in the 65K range.

Is the issue the conversion from a .bin format to the .csv?

Ideally I am looking to be able to capture tens-of-thousands of these frames per second.

If this is a limitation of the EVM FPGA firmware, I was wondering if there is an alternate firmware that has been optimized for this kind of application.

Thank you in advance for your assistance.