Create a HistData window
- Last UpdatedMay 29, 2025
- 2 minute read
After you create the I/O type tags, create a new window called HistData similar to the following example:

The # symbols are linked to a user input link. For example, the # symbol has a User Inputs/String link to the HDWDataDir tag. The user input link allows you to change the value of the tags during run time.
The Status button is linked to a fill color—discrete expression, based on the HDWStatus tag.

The Write File button is linked to a fill color—discrete expression, based on the HDWWriteFile tag.

The Initialize Data button is linked to a Touch Pushbutton Action script. For example:

When the Initialize Data button is selected, the HistData items are initialized with the desired values. If needed, these values can also be changed during run time by using the User Inputs Links.
The Write File button is linked to a Touch Pushbutton Action script. When selected, the WriteFile button generates the output file. Here is the configuration for the Write File button:
