Interactive Alignment Express VI
Owning Palette: Processing Express VIs
Installed With: LabVIEW SignalExpress
Aligns two plots so you can compare them. You can align the Test signal in signal with the Ref. signal in signal manually by dragging and/or expanding the Test plot on the graph or by using algorithms to automatically align steps, pulses, or periodic parameters.
Dialog Box Options |
Place on the block diagram | Find on the Functions palette |
Dialog Box Options
Parameter | Description |
---|---|
Input Signals | Displays the two signals to align. |
Autoscale Y(x) | Adjusts the vertical scale to reflect the data from the input signals. |
Comparison Result Signal | Displays the comparison signal that results from the operation you specified with Operation in the Resampling and Comparison Setup section of the Resampling page. |
Autoscale Comparison Signal | Adjusts the vertical scale to reflect the result of the operation on the two aligned signals. |
Autoscale x | Adjusts the time scale to reflect the data to display. |
Input/Output | Contains the following options:
|
Alignment | Contains the following options:
|
Resampling | Contains the following options:
|
Interactive Alignment Details
Moving the Test plot
You can drag the Test plot to move it. When you release the mouse button, the graph performs an autoscale operation to optimize the viewing of the plots unless you remove the checkmarks from the Autoscale checkboxes. LabVIEW SignalExpress does not update the lower graph that displays the Comparison Result Signal when you drag the Test plot, but it performs a new comparison operation as soon as you release the mouse button.
A small cross on the upper graph called the Anchor point marks the location where you last released the mouse. To move the Anchor point position, click on the new location.
Expanding the Test plot
You also can expand the Test plot in both directions, corresponding to a gain/attenuation of the signal amplitude in the vertical direction and a time expansion/compression in the horizontal direction. To expand the plot, press the <Alt> key, click the graph, and drag it. The expansion keeps the position of the Anchor point unchanged; and the mouse position point in the plane at the start of the expansion follows the mouse move.
Locking Move or Expansion
You can prevent unwanted moves and/or expansions in specific directions by removing the checkmark from the corresponding Allow x-gain, Allow y-gain, Allow x-offset, or Allow y-offset checkbox. Notice that preventing certain moves or expansion conflicts with the actual position of the Anchor point and results in slightly different expansion behaviors.
Alignment Evaluation
You can evaluate the alignment on the lower graph that displays the Comparison Result Signal. This signal displays the result of an arithmetic operation you can specify LabVIEW SignalExpress to perform on the two aligned signals. The default is Subtract.
Exporting Alignment Results
You can export the alignment information using the following checkboxes on the Input/Output page:
- Export aligned signals
- Export x-offset result
- Export y-offset result
- Export x-gain result
- Export y-gain result
Resampling the Test signal
To align the Test signal in with the Ref. signal in, you must resample the signal so you can perform a sample by sample arithmetic operation like subtraction. The resampling process ensures that LabVIEW SignalExpress samples the aligned waveforms at the same rate and in phase. You can select different resampling options on the Resampling page.