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

This is an example of how to use the SysIOMapReadByID function along with the IOMapReadByIDType structure.

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