NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_SysDatalogWrite.nxc

This is an example of how to use the SysDatalogWrite function along with the DatalogWriteType structure.

task main()
{
ArrayBuild(args.Message, 0x01, 0x02);
if (args.Result == NO_ERR)
TextOut(0, LCD_LINE1, "success");
}