visual3d:documentation:pipeline:signal_commands:merge_data
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| visual3d:documentation:pipeline:signal_commands:merge_data [2024/06/17 17:08] – removed sgranger | visual3d:documentation:pipeline:signal_commands:merge_data [2024/10/15 02:05] (current) – Cleaned up page. Still need to meet Pipeline Command format. wikisysop | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ===== Merge Data ===== | ||
| + | |||
| + | This command merges data from multiple signals into a single signal in one of two ways: | ||
| + | - either via **APPEND_TO_END**, | ||
| + | - via **MERGE_AS_NEW_COMPONENTS**, | ||
| + | |||
| + | < | ||
| + | Merge_Data | ||
| + | \SIGNAL_TYPES= | ||
| + | \SIGNAL_FOLDER= | ||
| + | \SIGNAL_NAMES= | ||
| + | !\COMPONENT_SEQUENCE= | ||
| + | !\RESULT_TYPES=DERIVED | ||
| + | !\RESULT_FOLDERS=PROCESSED | ||
| + | !\RESULT_NAME= | ||
| + | !\MERGE_TYPE=APPEND_TO_END | ||
| + | !\IGNORE_MISSING_SIGNALS=FALSE | ||
| + | !\PRE_CLEAR_RESULT_SIGNAL=FALSE | ||
| + | ; | ||
| + | </ | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ==== Parameters ==== | ||
| + | |||
| + | **COMPONENT_SEQUENCE: | ||
| + | |||
| + | **MERGE_TYPE: | ||
| + | |||
| + | - APPEND_TO_END append one signal to the end of another signal | ||
| + | - MERGE_AS_NEW_COMPONENTS treat each original signal as a component of the new signal | ||
| + | |||
| + | **IGNORE_MISSING_SIGNALS: | ||
| + | |||
| + | **PRE_CLEAR_RESULT_SIGNAL: | ||
| + | |||
| + | ==== Examples ==== | ||
| + | |||
| + | Below are some examples for using the Merge_Data command demonstrating both types of merges. | ||
| + | |||
| + | === Simple Example === | ||
| + | |||
| + | The command below will create a vector named **Vector** from 3 analog signals. This is an example of merging 3 signals into one signal. | ||
| + | |||
| + | < | ||
| + | Merge_Data | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | </ | ||
| + | |||
| + | === Create Global List of all Instances === | ||
| + | |||
| + | < | ||
| + | Select_Active_File | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | Merge_Data | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | / | ||
| + | ! / | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | </ | ||
| + | |||
| + | === Add a column to a metric === | ||
| + | |||
| + | Another [[Metrics Example 3|example]] adds an indexing column to a metric (single values). This will allow the metric to be graphed. | ||
| + | |||
| + | === Merge for ASCII export === | ||
| + | |||
| + | The example found on [[Visual3D: | ||
| + | |||
| + | When exporting, all signals are exported to separate columns in the exported file. For metric signals (e.g. signals with only one or two entries/ | ||
visual3d/documentation/pipeline/signal_commands/merge_data.1718644109.txt.gz · Last modified: 2024/06/17 17:08 by sgranger
