Changes for page Simulation (KiSim)
Last modified by Richard Kreissig on 2023/09/14 11:07
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -703,7 +703,7 @@ 703 703 704 704 The following shows a tiny python script, that will write a Data Pool containing an output variable x to stdout. 705 705 706 -{{code title="prog.py"}} 706 +{{code language="py" title="prog.py"}} 707 707 import sys 708 708 709 709 x = 0 ... ... @@ -718,7 +718,7 @@ 718 718 719 719 This script can be executed from within KIELER to start a simulation because it uses the JSON communication on stdin and stdout. Note however that the input coming from the simulation is not handled in the script. An example kisim configuration to start such a scipt is given below. 720 720 721 -{{code}} 721 +{{code title="RunProg.kisim"}} 722 722 configure sim A { 723 723 executable: prog.py 724 724 command: "python -i ${executable_path}"
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -33 2601061 +50823373 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/33 260106/V2 Simulation1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/50823373/V2 Simulation