node-red-contrib-neuralnetwork
Version:
SmartNode node package, provided by MakerCollider
38 lines (33 loc) • 2.7 kB
HTML
<!--
Copyright 2015 Maker Collider
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/x-red" data-help-name="dataCollect">
<h3 id="Data Collect Node"><a name="Data Collect Node" href="#Data Collect Node"></a>Data Collect Node</h3>
<p>The node is used to collect input datas of a plurality of nodes, and arrange the datas into the {input: {data}, output: {data}} Json format and output it.</p>
<h4 id="Configuration parameters"><a name="Configuration parameters" href="#Configuration parameters"></a>Configuration parameters</h4>
<ol>
<li>name:The node name</li>
<li>in-rules:As the input data content, it requires that the parameter name must be the same with the msg.* parameter name of the previous connected node.</li>
<li>out-rules:As the output data content, it requires that the parameter name must be the same with the msg.* parameter name of the previous connected node.</li>
<li>form:The number of the parameters of input and output datas content.
<h4><a>For example*</a>:The input is set to 3, the output is set to 2, the final result is {'input':{'r':255,'g':255,'b':0},'output':{'yellow':1,'blue':1}}</h4>
</li>
<li>cmdplaceholder:In front of the node you need to connect a data input node,the order name must be the same with the msg.* parameter name of the previous connected node, then output the collected complete of the node.
<h4 id="Usage"><a name="Usage" href="#Usage"></a>Usage</h4>
<ol>
<li>In <strong>Input parameters</strong>, you can add and set the input data which need to be collected. It should be set at the previous connected node, and hold two parameters' names are consistent. </li>
<li>In <strong>Output parameters</strong>, you can add and set the input data which need to be collected. It should be set at the previous connected node, and hold two parameters' names are consistent. </li>
<li>In <strong>Retention parameters</strong>, you can set the number of reserved input and output data.</li>
<li>Send instructions to set the parameters, the name should be the same with the input parameter name of the previous connected node. It will eventually output the complete collection data.</li>
<li><strong>deploy</strong></li>
</ol>
</script>