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

This is an example of how to use the SysCommLSWriteEx function along with the CommLSWriteExType structure.

task main()
{
args.Port = S1;
args.Buffer = myBuf;
args.ReturnLen = 8;
args.NoRestartOnRead = true;
if (args.Result == NO_ERR)
{
// do something
}
}