Other Parts Discussed in Thread: ADC08DJ3200
Hi TI,
I have TSW14J57EVM data converter connected to ADC08DJ3200, and I'm using HSDCPro automation dll in Python to capture and further process data. The two main functions I'm using to get the data from HSDCPro software are Pass_Capture_Event and Get_Capture_Data_16bits and I'm calling them in a loop for program to capture data continuously. They are working well but but after some period of continuous operation of my program, the execution time of the get_capture_data_16_bits function increases significantly (specifically, at the beginning of the program, it takes about 1 second, and during the operation of the program it increases up to 3 seconds) even though my program works under the same conditions (nothing changes in the meantime neither in Python nor in HSDCPro software, code is the same and all the settings in HSDCPro software are also the same) and, except for the already mentioned loop, these functions are not called anywhere else in the rest of the code. Do you know what could cause this function to run longer? If so, can something be done that each call of this function takes more or less the same time. In the attachment I am sending you a part of the python code that calls these functions and the declaration of the variables used in them.
#part of the code that is in the loop and calls mentioned functions NoofChannels = 1 Number_Of_Samples_Per_Channel = 524288//2 Capture_Data_Array_Len = NoofChannels * Number_Of_Samples_Per_Channel OffsetSamplePerChannel = 0 CaptureData_16bits = (c_short*Capture_Data_Array_Len)() TimeoutinMs = 30000 Err_Status = HSDC_Pro.Pass_Capture_Event(TimeoutinMs) Err_Status = HSDC_Pro.Get_Capture_Data_16bits(Number_Of_Samples_Per_Channel,OffsetSamplePerChannel,CaptureData_16bits,Capture_Data_Array_Len,TimeoutinMs)
Thanks in advance,
Aid