User Tools

Site Tools


tools:singlestepping

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:singlestepping [2017/10/01 17:51] – [EEROS Application] graftools:singlestepping [2019/03/14 09:34] (current) – [Single Stepping] graf
Line 7: Line 7:
   auto& sequencer = Sequencer::instance();               // get instance   auto& sequencer = Sequencer::instance();               // get instance
 </code> </code>
-A+After successful compilation start the application
  
  
 ===== Single Stepping ===== ===== Single Stepping =====
 +On the machine where you wish to control your application sequences you have to install EEROS. Next, navigate to the directory ''tools/sequencer'' in your build directory of the EEROS library. Run ''sequencerUI'' to remotely connect to the machine running your EEROS application and pass its ip-address as a parameter. 
 +<code>
 +$ ./sequencerUI -i "146.136.10.7"
 +$ ./sequencerUI -i "localhost"  // if the EEROS application runs on the same machine
 +</code>
 +After starting you will be prompted for your input.
  
- +<code> 
-In the EEROS library you will find a directory with examples. Open a shell in the build directory of your EEROS library and run examples/controlsystem/PeriodicExample2This examples does: +$ Enter 's' for single step, 'c' for continue, 'b' for break: 
 +</code> 
 +Entering the character 'b' will turn single stepping on and stop the execution of steps. 's' will execute the next step. 'c' will turn single stepping off. \\ 
 +If you want your EEROS application to switch to single stepping mode upon startup you can do so with 
 +<code> 
 +  sequencer.singleStepping(); 
 +</code>
  
tools/singlestepping.1506873093.txt.gz · Last modified: 2017/10/01 17:51 (external edit)