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> |
ptrkrysik | 3be74a7 | 2014-12-13 10:11:00 +0100 | [diff] [blame] | 5 | <import>import grgsm</import> |
| 6 | <make>grgsm.controlled_const_source_f($constant)</make> |
piotr | 4089c1a | 2014-08-06 14:10:56 +0200 | [diff] [blame] | 7 | <callback>set_constant($constant)</callback> |
| 8 | |
| 9 | <param> |
| 10 | <name>constant</name> |
| 11 | <key>constant</key> |
| 12 | <value>0</value> |
| 13 | <type>float</type> |
| 14 | </param> |
| 15 | |
| 16 | <sink> |
| 17 | <name>constant_msg</name> |
| 18 | <type>message</type> |
| 19 | <optional>1</optional> |
| 20 | </sink> |
| 21 | |
| 22 | <source> |
| 23 | <name>out</name> |
| 24 | <type>float</type> |
| 25 | </source> |
| 26 | </block> |