This constant defines the mode that the Real-time Data Monitor (RTDM) will be operating in the user’s application.
If it is set to YES, the user should place the RTDM_ProcessMsgs() function in the main loop. In order to ensure that the messages are being processed, we recommend that the main loop always poll this function as fast as possible (minimum 10 ms).
If it is set to NO, the RTDM_ProcessMsgs() function will be called on the Universal asynchronous receiver/transmitter (UART) receiver Interrupt Service Routine (ISR). If multiple interrupts are enabled, you must activate the nested interrupts mode on the dsPIC® DSC device.
YES or NO
#define RTDM_POLLING YES