Difference between revisions of "NVGate Macro"

Jump to navigation Jump to search
229 bytes added ,  10:44, 18 May 2020
Line 1: Line 1:


===Tutorial===
===Tutorial===
A macro is a powerful automation tool of NVGate allowing to create your own programs from a simple graphic interface, and don't require any software development skills.<br>
In this section, we will create a macro that automatically restart the recording on for input when the measurement is stopped.
In this section, we will create a macro that automatically restart the recording on for input when the measurement is stopped.


To do so, add the channels into the recorder.
To do so, add the channels into the [[NVGate Recorder|recorder]].
[[NVGate Recorder]]
 
====Creating a new Macro====
====Creating a new Macro====
Go in the "Tools" tab of the NVGate ribbon, and select "New" in the Macro section :  
Go in the [[NVGate Ribbons: Tools Tab|"Tools" tab of the NVGate ribbon]], and select "New" in the Macro section :  


[[Image:NewMacro.png|framed|none]]
[[Image:NewMacro.png|framed|none]]
Line 13: Line 15:
This will open the Macro editor :  
This will open the Macro editor :  


Our macro need to restart the recording whenever it ad been stopped. We will use an loop that will iterate until a control parameter stop it to deactivate the Macro  
Our macro need to restart the recording as soon as it had been stopped. We will use a loop that iterate until over the infinite. However we will need a control parameter to stop the Macro.
 
[[Image:RightClick.png|framed|none]]
[[Image:RightClick.png|framed|none]]


Navigation menu