SinelaboreRT Header Logo

SinelaboreRT

As simple as possible, but not any simpler!

User Tools

Site Tools


wiki:news:10oct2013

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
wiki:news:10oct2013 [2013/09/22 20:45] pmuellerwiki:news:10oct2013 [2013/09/22 20:50] pmueller
Line 23: Line 23:
 You can now simply declare multiple variables of type TESTCASE_INSTANCEDATA_T which contains the data per instance. When calling the state machine just point to one of these variables.  You can now simply declare multiple variables of type TESTCASE_INSTANCEDATA_T which contains the data per instance. When calling the state machine just point to one of these variables. 
  
-To let the state machine know which object number it currently works with a predefined member of the struct called ''inst_id'' is available. You can set it to any value that makes sense in the state handler (e.g. provide the COM port number the machine currently processes).+Sometimes it is necessary that a state machine knows on which object it currently works on. Therefore a predefined member called ''inst_id'' is generated by default. You can set it to any value that makes sense in your context (e.g. provide the COM port number the machine currently processes).
  
 <code c> <code c>
wiki/news/10oct2013.txt · Last modified: 2022/08/17 19:44 by pmueller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki