Types and Databases

If your robot writes the values of variables to a database, the types of these variables need to define which attributes must be part of the key used to store the values in the database. The database key for the value is calculated as a secure hash of the attributes marked to be part of the database key.

You can 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, the appropriate database table must exist in an available database. The table is required to contain columns matching the attributes of the type.

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