block_i2t.test.ctrl 2.08 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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) {
		    30.0, 30.0, 30.0, 30.0, 30.0, 30.0, 30.0, 30.0, 30.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, 10.0, 30.0, 30.0, 30.0, 30.0, 30.0
		},
		(float) {
	   	    0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
		    0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
		    0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
		}
	}
	{ "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) {
		    300.0, 300.0, 300.0, 300.0, 300.0, 300.0, 300.0, 300.0, 300.0, 300.0,
		    300.0, 300.0, 300.0, 300.0, 300.0, 300.0, 300.0, 300.0, 300.0, 300.0,
		    10.0, 10.0, 10.0, 10.0, 10.0, 300.0, 300.0, 300.0, 300.0, 300.0 
		},
		(float) {
	   	    0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
		    0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
		    0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
		}
	}
}