Part Number: TSW1400EVM
Hi,
Here are few numbers that I would require, ADC Sampling frequency = 800MHz (which I know the ADS54T0x, the ADC I am using can provide). The number of samples comes to be around 30k and the repetition frequency is around 1000Hz which means that the data containing the first 30k samples has to be captured and saved to file either in binary or CSV format within 1ms interval so that the next capture phase can begin and store another 30k samples in a new file.
As an attempt, I used the "C:\....\High Speed Data Converter Pro\HSDCPro Automation DLL\Manual and Examples\Automation DLL C Example\ADC\Automation DLL C Example ADC.vcproj" example and checked the execution time of the function Pass_Capture_Event
before looping the function for capturing data in next cycle.
if (TriggerModeEnable==0) { printf("\n\nStart Normal Capture. Press any key to continue..."); getch(); printf("\nStarting Normal Capture..."); //start clock Error_Status = Pass_Capture_Event(TimeoutInMs); //stop clock and measure the execution time in milliseconds printf("\nError Status = %d", Error_Status); printf("\n\nSaving ADC Raw Data as CSV file at %s", CSVFilePathWithName); Error_Status = Save_Raw_Data_As_CSV(CSVFilePathWithName, TimeoutInMs); printf("\nError Status = %d", Error_Status) }
The function takes around 250ms which is far beyond our requirement (I used Unix Timestamp for accurate precision).
As an alternative I also tried providing external hardware trigger as a clock with a time period 0.5 seconds and 0.5 milliseconds and looping the Read_DDR_memory
function (enabling the WaitforTrigger
to be ON) but I feel that the program is taking much more delay and is skipping few triggers. Can you help us with deciding whether the procedure is right? and whether the DAQ can provide us the required numbers (mentioned in the top) that we desire. You can also communicate to my mail ID if desired. Thanks in advance!
Regards,
Adithya N
Email: adithya.n@galaxeye.space