- Note
- This file: ./src/CommandLineInterface/doc/ProcessInfoStructure.md
The PROCESSINFO structures allow fine-grained management of real-time loop processes
The loop can be paused, stepped or stopped, and a counter value inspected
1. Overview
The PiS is stored in shared memory as
proc.<shortname>.<PID>.shm
2. Code Template
int functiontemplate_usingprocessinfo() {
char pinfoname[200];
sprintf(pinfoname, "aol%ld-acqRM", loop);
char pinfodescr[200];
sprintf(pinfodescr, "NBcycle=%ld", NBcycle);
char pinfomsg[200];
sprintf(pinfomsg, "starting setup");
pinfoname,
pinfodescr,
pinfomsg,
__FUNCTION__, __FILE__, __LINE__
);
int loopOK = 1;
if(.... error condition ....)
{
}
while(loopOK==1)
{
{
}
}
}