NXC
Version 1.2.1 r5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
All
Data Structures
Files
Functions
Variables
Groups
Pages
ex_syscommlsread.nxc
This is an example of how to use the
SysCommLSRead
function along with the
CommLSReadType
structure.
task main()
{
CommLSReadType
args;
args.
Port
=
S1
;
args.
Buffer
= myBuf;
args.
BufferLen
= 8;
SysCommLSRead
(args);
// check Result for error status & use Buffer contents
}
Generated by
1.8.2