In addition to the value of a DataHub point, you might need to know its timestamp
or quality at the moment of an event. This information can be accessed through
two special Gamma scripts: Time.g and
Quality.g. You can require these scripts by adding a
require
function at the beginning of your script, like this:
require ("Application");
...
require ("Time");
require ("Quality");
...The Time.g script offers a number of time-related
functions, while the Quality.g file has a single function
that converts a numerical quality code into a human-readable text string. These
scripts are both located in the require folder of your DataHub
installation.