block_i2t.test.ctrl 2.07 KB
Newer Older
Jeroen Vreeken's avatar
Jeroen Vreeken committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
trigger {
	{ "immediate" }
}

blocks (10.0, 0.0) {
	{ "i2t", "i2t_10" }
}

blocks (1.0, 0.0) {
	{ "i2t", "i2t_1" }
	
	{ "test_input_float",  "test_1_I"  }
	{ "test_output_float", "test_1_Ilim" }

	{ "test_input_float",  "test_10_I"  }
	{ "test_output_float", "test_10_Ilim" }
}

links {
	{ "test_1_I", "value",  "i2t_1", "I",            true }
	{ "i2t_1",    "Ilim",   "test_1_Ilim", "value",  true }
	{ "test_10_I", "value", "i2t_10", "I",           true }
	{ "i2t_10",    "Ilim",  "test_10_Ilim", "value", true }
}

params {
	{ "i2t_1", "continuous", (float) 10.0 }
	{ "i2t_1", "peak",       (float) 30.0 }
	{ "i2t_1", "duration",   (float) 10.0 }

	{ "i2t_10", "continuous", (float) 10.0 }
	{ "i2t_10", "peak",       (float) 30.0 }
	{ "i2t_10", "duration",   (float) 10.0 }

	{ "test_1_I",  "value", 30, (float) { 
	    0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
	    30.0, 30.0, 30.0, 30.0, 30.0, 30.0, 30.0, 30.0, 30.0, 30.0,
	    10.0, 10.0, 10.0, 10.0, 10.0, 8.0, 8.0, 0.0, 0.0, 0.0 }
	}
	{ "test_1_Ilim", "value", 30, 
		(float) {
42
43
44
		    90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0,
		    85.0, 81.0, 75.0, 70.0, 64.0, 57.0, 50.0, 41.0, 30.0, 10.0,
		    10.0, 10.0, 10.0, 10.0, 10.0, 12.0, 13.0, 16.0, 19.0, 22.0
Jeroen Vreeken's avatar
Jeroen Vreeken committed
45
46
47
		},
		(float) {
	   	    0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
48
49
		    1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 0.0,
		    0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 1.0, 1.0
Jeroen Vreeken's avatar
Jeroen Vreeken committed
50
51
52
53
54
55
56
57
58
		}
	}
	{ "test_10_I",  "value", 30, (float) { 
	    0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
	    30.0, 30.0, 30.0, 30.0, 30.0, 30.0, 30.0, 30.0, 30.0, 30.0,
	    10.0, 10.0, 10.0, 10.0, 10.0, 8.0, 8.0, 0.0, 0.0, 0.0 }
	}
	{ "test_10_Ilim", "value", 30, 
		(float) {
59
60
61
		    283.0, 283.0, 283.0, 283.0, 283.0, 283.0, 283.0, 283.0, 283.0, 283.0,
		    281.0, 267.0, 252.0, 235.0, 217.0, 198.0, 177.0, 153.0, 124.0, 85.0,
		    10.0, 10.0, 10.0, 10.0, 10.0, 12.0, 22.0, 30.0, 44.0, 54.0 
Jeroen Vreeken's avatar
Jeroen Vreeken committed
62
63
		},
		(float) {
64
65
66
	   	    1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
		    1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
		    0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 1.0, 1.0
Jeroen Vreeken's avatar
Jeroen Vreeken committed
67
68
69
		}
	}
}