Hello James,
I think the easiest way is create a Processor Expert project on KDS:

then add the component of "Serial_LDD"

There is demo code under under "Typical Usage" :

Hope it helps
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------