The Data Storage plug-in stores data in the current Scene and sends it to the other plug-ins on startup.
Data Storage helps artists during Scene design if there is no data source available, and to hold data within, for example, the Scene.
Note: This plug-in is located in: Plugins -> Container plug-ins -> VisualDataTools
This page contains the following topics and procedures:
Data Storage Properties
Shared Mem.: Changes between Scene, Global and Distributed Shared Memory. Use Inactive memory to not forward any values via Shared Memory.
Key Data 1-5: Determines Shared Memory key name.
Data 1-5: Contains (separated) data.
Resend Data: Resends the actual values.
To Store and Send Data
Create a chart scene (for example, using Line Chart) and set Shared Mem. to Scene.
Add Data Storage to the scene and set Shared Mem. to Scene.
Open the Data Storage editor and set the following parameters:
Shared Mem. to Scene.
Key Data1 to
Data1.
Data1 to
10, 20, 15, 30, 25, 40, 20.
Open the chart plug-in editor and set the Key DataY value (for example,
Data1
) using the Key Data1 value you set for Data Storage.
Note: The various chart plug-ins have different property names (for example, Data and Key Data). Also, some have X, Y or Z appended at the end, defining the axis.
Open the Data Storage editor and click the Resend Data button.
To Enable Data Input from External Sources
The following example builds on the previous example.
Add the Control Parameter to the scene tree. Control Object is automatically added.
Open the Control Parameter editor.
Enter
FUNCTION*DataStorage*Data1
into the Parameter field.Set Data Type to Text. This allows you to pass a string of numbers to Control Parameter that are stored in the shared memory. It also allows your template designer or operator to further extend/enhance the input methods (for example, through scripting).