Viz Artist

Version 3.11.0 | Published January 22, 2018 ©

Data Fit

images/download/attachments/27789653/viz_icons_datafit.png
Data Fit listens for incoming data and modifies and redistributes it to another Shared Memory key.

Note: This plug-in is located in: Built Ins -> Container plug-ins -> VisualDataTools

This section contains information on the following topics:

Data Fit Properties

images/download/attachments/27789653/plugins_container_datafit_editor.png

  • Shared Mem: Changes between Scene-, Global- and Distributed-Shared Memory. Use Inactive memory to not forward any values via Shared Memory.

  • Transfer Mode: Sets string- or array-based data transfer.

  • Data Delim. Src.: Defines the value separator sign(s) for all data sources.

  • Data Delim. Dest.: Defines the value separator sign(s) for all data destinations.

  • Key Data Src.1-5: Shared Mem. key name for input 1-5.

  • Key Data Dest.1-5: Shared Mem. key name for output 1-5.

  • Scale: Scales each incoming value by that factor.

  • Offset: Adds an Offset to each incoming value.

  • Autoscale: Activates automatic scaling mode. Now all data is scaled to a certain range defined by the following 2 parameters:

    • Start: Autoscale starting range.

    • Stop: Autoscale stopping range.

To Create a Scene with Data Fit

images/download/attachments/27789653/plugins_container_datafit_scenetree.png
This procedure will feed two charts with data. One with the original and the other with the modified data from Data Fit.

  1. Create a new container.

  2. Drag and drop a Data Storage and a Data Fit plug-in into this container.

  3. Drag and drop two Bar Chart plug-ins to become children of this container.

  4. Open the plug-in editor of the first Bar Chart and set Shared Mem. to Scene and KeyData to “MyData”.

  5. Do the same for the second Bar Chart but use “MyDataFit” as the key name.

  6. Go to the DataFit plug-in and set its Shared Mem. type also to Scene

  7. Set Key Data Src.1 to “MyData” and Key Data Dest.1 to “MyDataFit” > set Scale to 2.0.

    • The input Shared Mem key is specified with Key Data Src. and the output with Key Data Dest.

  8. Now edit Data Storage for the input values: set Shared Mem. to Scene, Key Data1 to MyData and type in some example values for Data1: 80,40,50,70,80,60,80.

    • As soon as you start typing you see both charts building up with the different values from Data Fit.

      images/download/attachments/27789653/plugins_container_datafit_sceneexample.png