847
edits
Line 50: | Line 50: | ||
Now that the If test is setup, we only need to add the "Run" instruction inside the If test to have the macro re-starting the measurement as soon as it have been stopped. However, the "Run" command is not an Algorithmic, but an NVGate command.<br><br> | Now that the If test is setup, we only need to add the "Run" instruction inside the If test to have the macro re-starting the measurement as soon as it have been stopped. However, the "Run" command is not an Algorithmic, but an NVGate command.<br><br> | ||
To add NVGate command into the Macro, we will need to use "record off line" [[Image:RecordOffLine.png]] | To add NVGate command into the Macro, we will need to use "record off line" [[Image:RecordOffLine.png]] or "record on line" [[Image:RecordOnLine]] options. These icons will allow you to add one or serveral NVGate command in the macro by simply clicking on it. Once you added all the NVGate commands you want, you need to re-click on the "record on line" or "record off line" icon to stop the recording and validate the sequence.<br><br> | ||
The "record on line" [[Image:RecordOnLine.png]] command will add the NVGate command in the macro and execute it at the same time. By example, clicking on [[Image:RecordOnLine.png]] and [[Image:RunIcon.png]] then will add the "Run" command in the macro and start the acquisition in NVGate. Clicking on [[Image:RecordOffLine.png]] and then [[Image:RunIcon.png]] will add the "Run" command in the macro, but will not start the acquisition in NVGate. <br><br> | The "record on line" [[Image:RecordOnLine.png]] command will add the NVGate command in the macro and execute it at the same time. By example, clicking on [[Image:RecordOnLine.png]] and [[Image:RunIcon.png]] then will add the "Run" command in the macro and start the acquisition in NVGate. Clicking on [[Image:RecordOffLine.png]] and then [[Image:RunIcon.png]] will add the "Run" command in the macro, but will not start the acquisition in NVGate.<br><br> | ||
To add the NVgate "Run" command into our macro, we don't need to actually start the acquisition in NVGate | To add the NVgate "Run" command into our macro, we don't need to actually start the acquisition in NVGate. To add it, select the "End if" line in the macro (because we wanr to ass the "Run" command before this line), click on [Image:RecrodOffLine.png]]. Then click on [[Image:RunIcon.png]] and re-click on [[Image:RecordOffLine.png]] to stop the recording of the command : | ||
[[Image:Run.png|framed|none]] | [[Image:Run.png|framed|none]] | ||
edits