# DataSet Data Type

The DataSet Data Type provides an intuitive way to organize, access and visualize data. A DataSet variable stores tabular data consisting of named columns, each of which can be of a different Data Type, and several rows.

The DataSet data type can be:

- Stored in Tags
- Set as inputs and outputs from scripts.
- Used with WebPage Elements, such as the User Inputs DataTable and Bar, Pie and Trend Charts, to graphically display tabular data while the job is Online.
- Used to store tabular data on the In-Sight vision system, as a CSV (Comma-Separated Values, .csv) file, allowing the data to be consumed by third party programs.

The data in the DataSet is compiled in scripts that execute within either In-Sight vision system scripts or WebPages HMI Scripting (WebPage Elements Event Handler Scripts).

Note:

- The DataSet data type is supported only by JavaScript. It is not supported by Python and therefore cannot be used in scripts written in Python.
- The maximum number of rows in a DataSet is 256 rows.
- If the created DataSet is a variable within a script (e.g. var dataset), it will be local to the executing script function until it is assigned to a Tag.