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

This is an example of how to use the SysIOMapRead function along with the IOMapReadType structure.

task main()
{
args.Count = 4; // this value happens to be 4 bytes long
SysIOMapRead(args);
if (args.Result == NO_ERR) { /* do something with data */ }
}