Modifications

Sauter à la navigation Sauter à la recherche
2 622 octets ajoutés ,  3 avril 2017 à 14:20
Ligne 72 : Ligne 72 :  
|}
 
|}
   −
== Les Noeuds de fonction ==
+
== Les noeuds de fonction ==
 
Vous les trouverez dans la collection de noeuds "Function"
 
Vous les trouverez dans la collection de noeuds "Function"
 +
 +
The function category contains a variety of nodes that carry out specific processing functions. These range from the simple delay and switch nodes to the programmable function node that can be adapted to almost any programming need.
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Ligne 82 : Ligne 84 :  
| align="left" | xx  
 
| align="left" | xx  
 
| align="left" | xx
 
| align="left" | xx
 +
|- style="font-size: 90%"
 +
| align="left" | function
 +
| align="left" | Generic programmable function node. Using standard JavaScript, the node can be tailored to carry out complex processing on its input messages generating one or more output messages. Examples 2.1, 2.2, 3.8, 5.1-5.4, 5.7, 6.1-6.8
 +
|- style="font-size: 90%"
 +
| align="left" | template
 +
| align="left" | Configured with a template (using moustache format) of arbitrary complexity, this node takes an input message containing name:value pairs and inserts into the template. Useful for constructing messages, HTML, config files, etc. Example 1.3
 +
|- style="font-size: 90%"
 +
| align="left" | delay
 +
| align="left" | A generic node that delays messages by a specific or random time. Can also be configured to throttle a message flow (e.g. 10 msg per sec).
 +
|- style="font-size: 90%"
 +
| align="left" | trigger
 +
| align="left" | Creates two output messages separated by a configurable time interval whenever an input message is received. Can also be used as a watchdog timer.
 +
|- style="font-size: 90%"
 +
| align="left" | comment
 +
| align="left" | A simple visual comment configured with title and body.
 +
|- style="font-size: 90%"
 +
| align="left" | http request
 +
| align="left" | Allows you to construct and send a HTTP request to a specific URL. Method (PUT, GET, etc), headers and payload are all configurable through the UI or programmatically.
 +
|- style="font-size: 90%"
 +
| align="left" | tcp request
 +
| align="left" | A simple TCP request node. It sends the msg.payload to a server tcp port and expects a response. Can be configured to wait for data, wait for a specific character, or return immediately.
 +
|- style="font-size: 90%"
 +
| align="left" | switch
 +
| align="left" | This node routes messages based on their properties. Properties are configured using the UI and can be a variety of logic (>, <, >= etc) applied to a message property.
 +
|- style="font-size: 90%"
 +
| align="left" | change
 +
| align="left" | The change node can be used to set, change or delete properties of incoming messages. A variety of configurable rules allow complex changes including search and replace in the msg.payload
 +
|- style="font-size: 90%"
 +
| align="left" | range
 +
| align="left" | A simple scaling node that will map numerical input to a new output. Useful for converting or bounding ranges of input values, e.g. temperature. Undefined for non-numeric data.
 
|}
 
|}
    
{{Rasp-Node-Red-TRAILER}}
 
{{Rasp-Node-Red-TRAILER}}
29 917

modifications

Menu de navigation