Topic: Ethapi readblock timeout  (Read 5009 times)

mgrand September 23, 2013, 09:38 AM

  • Member
  • *
  • Posts: 4
Hello,

We need to acquire data when a trigger is detected.
For now, we use the readblock Ethapi function to read data from the board but the timeout delay of this function is too short.
Indeed, the read fails when the trigger does not come quickly.
Is it possible to modify the timeout delay of this function?

Best regards

arnaudNL September 24, 2013, 09:23 AM (#1)

  • 4DSP Staff (EU)
  • Administrator
  • Member
  • *****
  • Posts: 7110
Dear Sir,


The only way to change the timeout value is to recompile the API. I believe the timeout is hard coded to 5 seconds (which is very long in the hardware world already).


We do not provide the source code to customers generally. You can look at the sip_mac_engine star documentation. The documentation covers all the in/out packets so in this respect you can implement a scheme with timeout yourself.


You can also contact sales@4dsp.com and ask them is there is a way to obtain ethapi source code, this might be possible if the volume is sufficient.


Best Regards,
Arnaud

mgrand September 25, 2013, 12:26 PM (#2)

  • Member
  • *
  • Posts: 4
Thank you for your answer.
I'm going to read the sip_mac_engine documentation.

arnaudNL April 10, 2014, 05:18 AM (#3)

  • 4DSP Staff (EU)
  • Administrator
  • Member
  • *****
  • Posts: 7110
This topic is being closed because the issue is considered as resolved by 4DSP. Feel free to create a new topic for any further inquiries.