- Manuale introduttivo
- Utilizzo del software
- OPC UA
- Oggetti grafici e di layout
- Sessioni e impostazioni locali
- Sviluppo di soluzioni
- Sviluppo di progetti con C#
- NetLogic
- Metodi ed eventi in C#
- Riferimento API C#
- Esempi di applicazione
- Esercitazione dell'interfaccia utente
- Esercitazione sui collegamenti dinamici
- Esercitazione sui logger
- Esercitazione sugli allarmi
- Esercitazione sulle NetLogic
- Riferimento su oggetti e variabili
Log.Node(node, verbose)
Returns a string that contains the path of the node passed in the argument. The second argument is optional and inserts the
NodeID
and object type in the returned string.static string Node(IUANodenode, boolverbose);
Arguments
- node(IUANode)
- The node for which the path is to be generated in a string format.
- verbose(bool)
- false(default)
- Does not insert additional information in the string returned.
- true
- Inserts theNodeIDand object type in the string returned.
Returns
- string
- The path of the node passed as the argument. Based on theverboseargument value, it can also contain theNodeIdand the object type.
Examples
The following example shows an API that generates a message consisting of the
string and theError on node
NetLogic path
, returned as a string by the Log.Node
API:Log.Info("Error on node " + Log.Node(LogicObject);
Fornire un feedback