This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Loggerstreamer2 logging raw data

Hi,

I'm using DK-TM4C129X , CCS6, tirtos_tivac_2_00_02_36, and uia_2_00_00_28

I want to use loggerstreamer2 mode.

how can I log raw data in the buffer which i created for the logger ?

where can I find the APIs for logging in this mode ?

Thanks

  • Hi Mostafa,

    You can find example usage for LoggerStreamer2 in the cdoc for UIA.  The log data is written with Log APIs (eg, Log_write()).  The examples in the cdoc use Log_iwriteUCn(), which are optimized for speed.  The UC stands for unconditional, and there is no check for whether or not logging is enabled, thus saving time.  (Using Log_iwrite() allows you to specify the logger instance.)

    Best regards,

        Janet