09-02-2020, 09:37 AM
This error occurs when a Variable node in your project is missing an initial value. An initial value is essential because it performs two key functions:
To fix this, simply provide an initial value.
Suggested Initial Values
While any value of the correct type can be used, here are some common defaults:
This initial value is what will be saved in the EDF data file, unless it is changed by another node during the trial sequence.
- It defines the variable's data type (e.g., integer, string, float, etc.).
- It acts as a default value, which will be recorded if the variable isn't updated during a trial.
To fix this, simply provide an initial value.
- Double-click the error message in the "Output" tab, which will automatically highlight the empty Variable node.
- Enter an appropriate default value in the node's properties.
Suggested Initial Values
While any value of the correct type can be used, here are some common defaults:
Data Type | Value |
---|---|
Integer | 0 |
Float / Double | 0.0 |
String | "" (an empty string) or NA |
Color | (0,0,0,255) |
Point | (0,0) |
Boolean | False or True |
List | [] |
This initial value is what will be saved in the EDF data file, unless it is changed by another node during the trial sequence.