Difference between revisions of "NVGate Macro"

Jump to navigation Jump to search
295 bytes added ,  10:43, 7 January 2022
Line 169: Line 169:
[[File:Macro_Editor_2022.JPG|400px]]
[[File:Macro_Editor_2022.JPG|400px]]


* '''Properties [[Image:Reports_Tools_Ribbons_63.jpg]]: '''Open a dialog box intended to edit macro properties. Macro properties consist of a set of parameters of different types, which can be used to define macro command properties.
{|border="0" cellspacing="0" cellpadding="4" width="100%" align="center"
This command is enabled if the macro item is selected in the macro tree.
|-valign = "top"
|[[Image:Reports_Tools_Ribbons_63.jpg]]
|'''Properties''': Open a dialog box intended to edit macro properties.  
 
|-valign = "top"
|[[Image:Reports_Tools_Ribbons_66.jpg]]
|'''Delete''' : Delete the selected command in the macro tree. If the macro selected contains a set of commands (for example a loop command), a dialog box appears in order to confirm command removal. If removal is confirmed, the command and all commands it contains are deleted.
This command is enabled if the macro is not running and it is not read-only.
 
|-valign = "top"
|[[Image:Reports_Tools_Ribbons_67.jpg]]
|'''Run''': Run the macro from the current command (indicated by execution pointer) to the next breakpoint. If no breakpoint follows, the execution goes to the end of the macro. Enabled if the macro is not running.
 
|-valign = "top"
|[[Image:Reports_Tools_Ribbons_68.jpg]]
|'''Pause''': Stop macro execution. The command running is completed, and then execution stops.
This command is enabled when the macro is running only.
 
|-valign = "top"
|[[Image:Reports_Tools_Ribbons_69.jpg]]
|'''Step next''': Run current command (indicated by execution pointer). This command is enabled when the macro is not running.
 
|-valign = "top"
|[[Image:Reports_Tools_Ribbons_70.jpg]]
|'''Reset''': If the macro is running, stop the execution, and then set the execution pointer to the first command of the macro.
 
|-valign = "top"
|[[Image:Reports_Tools_Ribbons_71.jpg]]
|'''Record on-line''': Record commands in the macro. The record on-line mode applies the user actions. The commands corresponding to actions are recorded and inserted in the macro before the selected command. This command is enabled if the macro is not running and it is not read-only.
 
|-valign = "top"
|[[Image:Reports_Tools_Ribbons_72.jpg]]
|'''Record off-line''': Record commands in the macro. The record off line mode applies the user actions only when the macro will start. The commands corresponding to actions are recorded and inserted in the macro before the selected command. This command is enabled if the macro is not running and it is not read-only.
 
|-valign = "top"
|[[Image:Reports_Tools_Ribbons_73.jpg]]
|'''Insert an algorithmic command''': Insert an algorithmic command before the selected command. This command is enabled if the macro is not running and it is not read-only.
 
|-valign = "top"
|[[Image:Reports_Tools_Ribbons_74.jpg]]
|'''Save''': Save the macro.
 
|}<br clear="all">
 
====Macro properties====
Macro properties consist of a set of parameters of different types, which can be used to define macro command properties. This command is enabled if the macro item is selected in the macro tree.


[[Image:Reports_Tools_Ribbons_64.png|framed|none]]
[[Image:Reports_Tools_Ribbons_64.png|framed|none]]
Line 210: Line 255:
* '''Edit: '''Open the "Parameter properties" dialog box, which is used to edit the parameter selected in parameters list. It is possible to change the name, the type, or the default value of the parameter. If the parameter is used by one or more macro commands, the type can<nowiki>’</nowiki>t be edited (the "Type" combo-box is disabled).
* '''Edit: '''Open the "Parameter properties" dialog box, which is used to edit the parameter selected in parameters list. It is possible to change the name, the type, or the default value of the parameter. If the parameter is used by one or more macro commands, the type can<nowiki>’</nowiki>t be edited (the "Type" combo-box is disabled).
* '''Remove: '''Removes the selected parameter. If the parameter is used by one or more macro commands, the parameter is not removed and an error message is generated.
* '''Remove: '''Removes the selected parameter. If the parameter is used by one or more macro commands, the parameter is not removed and an error message is generated.
* '''Delete''' [[Image:Reports_Tools_Ribbons_66.jpg]]: Delete the selected command in the macro tree. If the macro selected contains a set of commands (for example a loop command), a dialog box appears in order to confirm command removal. If removal is confirmed, the command and all commands it contains are deleted.
This command is enabled if the macro is not running and it is not read-only.
* '''Run''' [[Image:Reports_Tools_Ribbons_67.jpg]]: Run the macro from the current command (indicated by execution pointer) to the next breakpoint. If no breakpoint follows, the execution goes to the end of the macro.
Enable if the macro is not running.
* '''Pause''' [[Image:Reports_Tools_Ribbons_68.jpg]]: Stop macro execution. The command running is completed, and then execution stops.
This command is enabled when the macro is running only.
* '''Step next''' [[Image:Reports_Tools_Ribbons_69.jpg]]: Run current command (indicated by execution pointer).
This command is enabled when the macro is not running.
* '''Reset''' [[Image:Reports_Tools_Ribbons_70.jpg]]: If the macro is running, stop the execution, and then set the execution pointer to the first command of the macro.
* '''Record on-line''' [[Image:Reports_Tools_Ribbons_71.jpg]]: Record commands in the macro. The record on-line mode applies the user actions. The commands corresponding to actions are recorded and inserted in the macro before the selected command.
This command is enabled if the macro is not running and it is not read-only.
* '''Record off-line''' [[Image:Reports_Tools_Ribbons_72.jpg]]: Record commands in the macro. The record off line mode applies the user actions only when the macro will start. The commands corresponding to actions are recorded and inserted in the macro before the selected command.
This command is enabled if the macro is not running and it is not read-only.
* '''Insert an algorithmic command''' [[Image:Reports_Tools_Ribbons_73.jpg]]: Insert an algorithmic command before the selected command.
This command is enabled if the macro is not running and it is not read-only.
* '''Save''' [[Image:Reports_Tools_Ribbons_74.jpg]]: Save the macro.


====Algorithmic commands====
====Algorithmic commands====

Navigation menu