Hi everyone,
I am using the C6713DSK along with an ADC (ADS8364M EVM) and a DAC (DAC8051). I am trying to stream the ADC readings onto the computer to visualise/save. I was told the best way to do that is using the RTDX.
I have opened an output channel and wrote a piece of code to repeatedly save 256 readings and write them as a message to the PC.
On my PC, I am using Matlab to read the data and visualise it. I have noticed that the RTDX_Write() function takes a long time to execute (~40ms for an array of 256 elements of type unsigned short int). This means that I will be missing a lot of readings while waiting for it to write (while ( RTDX_writing != NULL ) {}).
Questions: - Is there a way of speeding up the RTDX?
- Is there a way I can keep reading the ADC while waiting for the writing to complete?