Vector edit object


Vector edit

The vector edit object creates a control window where a numeric data vector can be displayed and/or edited. It can also be used to set single elements of a vector to a specific value.


Fig. 1: Vector edit control The vector edit object has the following properties: If "Execute on change" is set to "Yes", a new thread is created when the vector has been changed by the user. If "Read Only" is set to "Yes", the vector is only displayed and can not be changed by the user. if "Length change" is set to "Yes", in the control window three buttons appear that allow inserting and deleting rows.

The vector edit object has two actions: The standard action displayes a vector that is connected to "Input". If input variables "Index" and "Value" have data, the vector element addressed by the variable "Index" is changed to "Value". If the "Index" input variable is greater than the size of the currently displayed vector an appropriate number of elements is appended to the vector and initialized with zeros. The action "Clear" sets the displayed vector to length zero.


The Vimms User Manual