piotr | 4089c1a | 2014-08-06 14:10:56 +0200 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <block> |
| 3 | <name>Controlled const source</name> |
| 4 | <key>gsm_controlled_const_source_f</key> |
| 5 | <category>GSM</category> |
| 6 | <import>import gsm</import> |
| 7 | <make>gsm.controlled_const_source_f($constant)</make> |
| 8 | <callback>set_constant($constant)</callback> |
| 9 | |
| 10 | <param> |
| 11 | <name>constant</name> |
| 12 | <key>constant</key> |
| 13 | <value>0</value> |
| 14 | <type>float</type> |
| 15 | </param> |
| 16 | |
| 17 | <sink> |
| 18 | <name>constant_msg</name> |
| 19 | <type>message</type> |
| 20 | <optional>1</optional> |
| 21 | </sink> |
| 22 | |
| 23 | <source> |
| 24 | <name>out</name> |
| 25 | <type>float</type> |
| 26 | </source> |
| 27 | </block> |