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

This is an example of how to use the SysCommLSCheckStatus function along with the CommLSCheckStatusType structure.

task main()
{
args.Port = S1;
// is the status (Result) IDLE?
if (args.Result == LOWSPEED_IDLE) { /* proceed */ }
}