9,121
edits
m (Reverted edits by Lmagimel (talk) to last revision by NIcolasAegerter) Tag: Rollback |
|||
| Line 6: | Line 6: | ||
[[Image:Mask4.png|framed|none]] | [[Image:Mask4.png|framed|none]] | ||
This tutorial will show you how to use a mask and a an alarm to start the recording of 3 inputs when the FFT spectrum of the first input cross the mask. To do that, we will need a to use a mask, an alarm and | This tutorial will show you how to use a mask and a an alarm to start the recording of 3 inputs when the FFT spectrum of the first input cross the mask. To do that, we will need a to use a mask, an alarm and a macro. The setup must contain three input channels connected to the recorder and the FFT plugins. The average spectrum must be displayed. The starting event of the recorder must be set on "Manual Trigger".<br> | ||
[[NVGate_Software_overview#Step_1:_Inputs_selection]]<br> | |||
[[NVGate FFT Analyzer]]<br> | |||
[[NVGate_Recorder]]<br> | |||
[[NVGate Macro]] | |||
====Setup a mask==== | ====Setup a mask==== | ||
The Mask manager can be found in the "Tools" tab of the NVGate Ribbon : | The Mask manager can be found in the "Tools" tab of the NVGate Ribbon : | ||
[[Image:Ribbon.png|framed|none]] | |||
To create a new mask, select "New" : | |||
[[Image:New.png|framed|none]] | |||
Once you close the window, the mask is then created under the project in the project manager and can be drop into the result graph, here the FFT spectrum : [[Image:Mask+manager2.png]] | And set the parameters of your mask : | ||
[[Image:Setup.png|framed|none]] | |||
You can then draw the template by adding points with the mouse and adapt the coordinates in the info-trace : | |||
[[Image:Point2.png|framed|none]] | |||
Once you close the window, the mask is then created under the project in the project manager and can be drop into the result graph, here the FFT spectrum : | |||
[[Image:Mask+manager2.png|framed|none]] | |||
====Add an Alarm==== | ====Add an Alarm==== | ||
Once you added the mask on the graph, you can create an alarm. The alarm will then allow you to use as an event in a Macro. <br> | Once you added the mask on the graph, you can create an alarm. The alarm will then allow you to use as an event in a Macro. <br> | ||
| Line 30: | Line 41: | ||
====Setup the Macro==== | ====Setup the Macro==== | ||
We will use the If command of | We will use the If command of the Macro to start the recording on the crossing of the Mask. After creating a macro containing a while loop "Until measurement stopped", add the "If" command inside the loop and set it up as follow : | ||
[[Image:MaskCross.png|framed|none]]<br> | [[Image:MaskCross.png|framed|none]]<br> | ||
Then, add the "Manual trigger" (by using the record option of the macro) into the If command. | Then, add the "Manual trigger" (by using the record option of the macro) into the If command. | ||
[[Image:ManualTrigger2.png|framed|none]]<br> | [[Image:ManualTrigger2.png|framed|none]]<br> | ||
[[NVGate Macro]] | |||
====Conclusion==== | ====Conclusion==== | ||
| Line 59: | Line 72: | ||
=====Save As===== | =====Save As===== | ||
[[Image:Reports_Tools_Ribbons_158.png]] | [[Image:Reports_Tools_Ribbons_158.png|framed|none]] | ||
Saves the mask with a new name in the current project. | |||
=====New===== | =====New===== | ||
| Line 77: | Line 92: | ||
* Order narrow band (available if one or more synchronous order analysis plug-in analyzer is available) | * Order narrow band (available if one or more synchronous order analysis plug-in analyzer is available) | ||
===== | =====/n octave mask settings===== | ||
[[Image:Reports_Tools_Ribbons_164.png|framed|none]] | [[Image:Reports_Tools_Ribbons_164.png|framed|none]] | ||
| Line 145: | Line 160: | ||
[[Image:Reports_Tools_Ribbons_169.png|framed|none]] | [[Image:Reports_Tools_Ribbons_169.png|framed|none]] | ||
* Add a point [[Image:Reports_Tools_Ribbons_170.jpg]] : Switches to "Add point" mode. In this mode, a new point is created by clicking in one of the two graph areas. A point with the same X-coordinate is added to the curve of the other graphic area. The Y-coordinate of this point is calculated by linear interpolation between previous and next point. | * Add a point | ||
* Select a point [[Image:Reports_Tools_Ribbons_171.png]]: Switches to "Select" mode. A point is selected by clicking on it. The selected point can be moved by dragging and dropping. The drop area is bound by the X-coordinates of the next and previous points, and the Y-axis minimum and maximum values. | [[Image:Reports_Tools_Ribbons_170.jpg|framed|none]] | ||
: Switches to "Add point" mode. In this mode, a new point is created by clicking in one of the two graph areas. A point with the same X-coordinate is added to the curve of the other graphic area. The Y-coordinate of this point is calculated by linear interpolation between previous and next point. | |||
* Select a point | |||
[[Image:Reports_Tools_Ribbons_171.png|framed|none]] | |||
: Switches to "Select" mode. A point is selected by clicking on it. The selected point can be moved by dragging and dropping. The drop area is bound by the X-coordinates of the next and previous points, and the Y-axis minimum and maximum values. | |||
When a point is selected in one of the two curves, the point with same X-coordinate is selected in the other curve. When a point is moved, the point with the same X-coordinate in the other curve is moved also, in order to keep the same X-coordinate. | When a point is selected in one of the two curves, the point with same X-coordinate is selected in the other curve. When a point is moved, the point with the same X-coordinate in the other curve is moved also, in order to keep the same X-coordinate. | ||
The two end points can be translated on the Y-axis only. Their X-coordinates are the X-axis minimum and maximum values, respectively. | The two end points can be translated on the Y-axis only. Their X-coordinates are the X-axis minimum and maximum values, respectively. | ||
* Select all points [[Image:Reports_Tools_Ribbons_172.jpg]] : Selects all points on both curves. A curve can be translated on the Y-axis by moving one of its points. | * Select all points | ||
* Remove selected point [[Image:Reports_Tools_Ribbons_173.jpg]] : Removes the selected point from both curves. The previous point becomes the new selected point. Not available if all points or one of the end points are selected. | [[Image:Reports_Tools_Ribbons_172.jpg|framed|none]] | ||
: Selects all points on both curves. A curve can be translated on the Y-axis by moving one of its points. | |||
* Remove selected point | |||
[[Image:Reports_Tools_Ribbons_173.jpg|framed|none]] | |||
: Removes the selected point from both curves. The previous point becomes the new selected point. Not available if all points or one of the end points are selected. | |||
======Graph contextual menu====== | ======Graph contextual menu====== | ||