source: branches/t3e-tools/t3q-examples/TEMP/RT/rr.ttcn @ 27

Last change on this file since 27 was 26, checked in by phdmakk, 14 years ago

+ initial testing examples for extension packages

File size: 583 bytes
RevLine 
[26]1module rr language "RT:2010"{
2        function f(){
3//              var float a := now;                                     //4.1.1
4//              var float ts;
5//              log("Waiting for a second..");
6                wait(1);
7                p.receive(1) -> timestamp ts;                   //4.3.1                 
8//              p.trigger(2) -> timestamp ts2;                  //4.3.2
9//              p.catch(s1, 3) -> timestamp ts3;                //4.3.5
10//              p.getcall(1) -> timestamp ts4;                  //4.3.3
11//              p.getreply(1) -> timestamp ts4;                 //4.3.4
12        }
13//      type port rtPort1 message realtime {            //4.3
14//              inout integer;
15//      }       
16//      type port rtPort1 procedure realtime {          //4.3
17//              inout sig1;
18//      }       
19
20}// with {stepsize "0.1"};                                      //4.2.2
Note: See TracBrowser for help on using the repository browser.