From OpenSCADAWiki
Jump to: navigation, search
(Importing a new version from external source)
(Importing a new version from external source)
Line 1: Line 1:
 
The request is made by sending a tag with parameters in the attributes. The result is placed into the resulting tag with some attributes modified. In general, the request tag can be written "'''<{req} path="{path}" user="{user}">{text}</{req}>'''", where:
 
The request is made by sending a tag with parameters in the attributes. The result is placed into the resulting tag with some attributes modified. In general, the request tag can be written "'''<{req} path="{path}" user="{user}">{text}</{req}>'''", where:
 
* ''req'' — request;
 
* ''req'' — request;
* ''path'' — path that exists only for commands and consists directly of the path to the node and the address of a specific element in the information structure of the node, where the address of the specific element is also the path encoded for the "/" character in "%2f" and written by the last element-file of the common path, for example — "/sub_DAQ/mod_ModBus/cntr_testTCP/%2fcntr%2fcfg%2fNAME";
+
* ''path'' — path, consists directly of the path to the node and the address of a specific element in the information structure of the node, where the address of the specific element is also the path encoded for the "/" character in "%2f" and written by the last element-file of the common path, for example — "/sub_DAQ/mod_ModBus/cntr_testTCP/%2fcntr%2fcfg%2fNAME";
 
* ''user'' — user of the program on behalf of which the request is sent, usually sets automatically;
 
* ''user'' — user of the program on behalf of which the request is sent, usually sets automatically;
 
* ''text'' — text or result of the request.
 
* ''text'' — text or result of the request.

Revision as of 10:41, 8 January 2023

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Documents/API)
The request is made by sending a tag with parameters in the attributes. The result is placed into the resulting tag with some attributes modified. In general, the request tag can be written: ''<'''{req}''' path="'''{path}'''" user="'''{user}'''">'''{text}'''</'''{req}'''>''. Where:
* ''req'' — request;
* ''path'' — path, consists directly of the path to the node and the address of a specific element in the information structure of the node, where the address of the specific element is also the path encoded for the "/" character in "%2f" and written by the last element-file of the common path, for example — "/sub_DAQ/mod_ModBus/cntr_testTCP/%2fcntr%2fcfg%2fNAME";
* ''user'' — user of the program on behalf of which the request is sent, usually sets automatically;
* ''text'' — text or result of the request.
TranslationThe request is made by sending a tag with parameters in the attributes. The result is placed into the resulting tag with some attributes modified. In general, the request tag can be written "'''<{req} path="{path}" user="{user}">{text}</{req}>'''", where:
* ''req'' — request;
* ''path'' — path, consists directly of the path to the node and the address of a specific element in the information structure of the node, where the address of the specific element is also the path encoded for the "/" character in "%2f" and written by the last element-file of the common path, for example — "/sub_DAQ/mod_ModBus/cntr_testTCP/%2fcntr%2fcfg%2fNAME";
* ''user'' — user of the program on behalf of which the request is sent, usually sets automatically;
* ''text'' — text or result of the request.

The request is made by sending a tag with parameters in the attributes. The result is placed into the resulting tag with some attributes modified. In general, the request tag can be written "<{req} path="{path}" user="{user}">{text}</{req}>", where:

  • req — request;
  • path — path, consists directly of the path to the node and the address of a specific element in the information structure of the node, where the address of the specific element is also the path encoded for the "/" character in "%2f" and written by the last element-file of the common path, for example — "/sub_DAQ/mod_ModBus/cntr_testTCP/%2fcntr%2fcfg%2fNAME";
  • user — user of the program on behalf of which the request is sent, usually sets automatically;
  • text — text or result of the request.