I have been working with this function (RTDX_channelBusy & RTDX_sizeofInput). Althouth you use this function, you need a infinite loop for reading. My doubt is if its possible read data sent from host without this loop (with a interrupt for example). Otherwise, what about RTDX_logEvent subject? how work RTDX with event? is it equals receive/send integer values or event values? Thanks for your help. --- In , "chets_raj" <chets_raj@y...> wrote: > Hi, > > RTDX_readNB() should be along with the RTDX_channelBusy > ().When the function RTDX_readNB is used, the target application > notifies the RTDX Host Library that it is ready to receive data but > the target application does not wait. Execution of the target > application continues immediately. Use the RTDX_channelBusy and > RTDX_sizeofInput functions to determine when the RTDX Host Library > has written data into the target buffer. > > I think the following example in the CCS Help will be useful in your > work. > > DSP/BIOS -> DSP/BIOS Tutorial -> Getting Started With DSP/BIOS -> > Analyzing Real Time Schedule. > > This example uses RTDX to change the load (volume) of the processing > signal in real time. > > Regards, > > --- In , "jcmarrupe" <jcmarrupe@y...> wrote: > > Excuse my English. > > I´m a newbie in dsp programming. > > > > I´m doing a project that recevive data from host and process it. > > > > Actually, data are received by means of RTDX, using 'RTDX_readNB' > > function, inside of infinite loop. > > > > My doubt is if there are some method to read data (sent from host) > by > > means of RTDX without a infinite loop. For example, using a > interrupt > > or using a RTDX Event. There are a 'RTDX_logEvent' function but I > > don´t know very good how it works. Is this how a interrupt? Are > there > > example source code of it? > > > > I hope my doubt is corretly explained. > > > > Thanks. |