27 lines
546 B
XML
27 lines
546 B
XML
<?xml version="1.0"?>
|
|
<block>
|
|
<name>Controlled const source</name>
|
|
<key>gsm_controlled_const_source_f</key>
|
|
<import>import grgsm</import>
|
|
<make>grgsm.controlled_const_source_f($constant)</make>
|
|
<callback>set_constant($constant)</callback>
|
|
|
|
<param>
|
|
<name>constant</name>
|
|
<key>constant</key>
|
|
<value>0</value>
|
|
<type>float</type>
|
|
</param>
|
|
|
|
<sink>
|
|
<name>constant_msg</name>
|
|
<type>message</type>
|
|
<optional>1</optional>
|
|
</sink>
|
|
|
|
<source>
|
|
<name>out</name>
|
|
<type>float</type>
|
|
</source>
|
|
</block>
|