Hi everyone,
I would like some advice with respect to, getting the highest speed from a Analog to Digital to Analog code.
e.g. going analog to analog, in the case of a sensor directly driving a PWMOUT function to give high resolution and fast processing time, is ideal in some cases. Although it gives very little control over the process and doesn't seem totally useful.
Is there a faster way to get the control that digital gives?? Without having to write down tens of even hundreds of lines of code to give the resolution that you would get with A to A.
A to D to A obviously slows down the processing time when it has to scan many lines of code to select an output, but it does give very good control interaction over every point in the analog output.
I don't have any program in mind here. I have just found this an issue over the years and wonder if anyone has found ways to create short cuts. So that processing time is still fast and the resolution is also good. I would appreciate and code examples.
Thanks
I would like some advice with respect to, getting the highest speed from a Analog to Digital to Analog code.
e.g. going analog to analog, in the case of a sensor directly driving a PWMOUT function to give high resolution and fast processing time, is ideal in some cases. Although it gives very little control over the process and doesn't seem totally useful.
Is there a faster way to get the control that digital gives?? Without having to write down tens of even hundreds of lines of code to give the resolution that you would get with A to A.
A to D to A obviously slows down the processing time when it has to scan many lines of code to select an output, but it does give very good control interaction over every point in the analog output.
I don't have any program in mind here. I have just found this an issue over the years and wonder if anyone has found ways to create short cuts. So that processing time is still fast and the resolution is also good. I would appreciate and code examples.
Thanks