VILLASframework
Modular co-simulation framework
|
Similarily, samples which are send to the node are printed on the screen. To demonstrate this we start villas pipe
a second time with swapped local
and remote
addresses.
In the first terminal:
In a second terminal, we use -x
to exchange input/output addresses:
By default, pipe
terminates as soon as the input stream reaches the end. In the examples above, the input stream is connected to the terminal where it wait for data entered by the keyboard. In this case, the end of the stream is emitted by pressing Ctrl-D. If the input stream is connected to a file, reaching the end of the file will cause termination of villas pipe
.
Furthermore, the tool supports three more modes to terminate itself:
-l NUM
switch, villas pipe
terminates after NUM
received samples.-L NUM
switch, villas pipe
terminates after NUM
sent samples.-t NUM
switch, villas pipe
terminates after NUM
seconds of execution.Go to [lab 5] =>(node-lab-5)