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

This is an example of how to use the SysWriteSemData function along with the WriteSemDataType structure.

task main()
{
args.NewVal = 0x4;
args.Request = true;
args.ClearBits = false;
}