Types and Databases

If your robot outputs the values of variables to a database, the types of these variables need to define which attributes must be part of the key that is used when storing the values in the database. The Database Key for the value is calculated as a secure hash of the attributes that are marked to be part of the Database Key.

You may also specify a Storage Name as part of your attribute definition. This is an optional different name to use when storing the attribute.

When saving values to database storage using the Store in Database action, it is necessary that the appropriate database table exists in an available database. This means that it is a requirement that the table contains columns matching the attributes of the type.

See Creating and Deleting Database Tables for more information on how Design Studio can assist you in setting up the appropriate database tables. Consult the Settings in Design Studio section for more information on setting up database connections in Design Studio.