====Advanced Data Source Options====
[[Data source|Data sources]] can have additional options beyond those in their settings.
These can be set up in the Advanced Data Source Options page.
Advanced data source options are set up as key-value pairs (ie. a name and a value). They are entered in using the format of INI files, meaning they look something like the file below...
Loop=2018-12-02 00:00:00
In the case above, **Loop** is the property name, and **2018-12-02 00:00:00** is the value.
There are some //common// advanced options (such as the **loop** directive shown above) that work on every ARDI driver, and some that are specific to individual drivers.
Note that the names are case-sensitive.
Some of these are documented below...
===Loop===
The **Loop** directive adjusts how historical fetches are made. When given a starting date to work with, all queries are re-mapped to occur //on the specified day//.
This is useful when you're working with a simulation or a recording of a specific instance and only have a small amount of recorded data.
If you have the following setting...
Loop=2018-12-02 00:00:00
Then a query for 9:00 on the 19th of February 2019 will be instead queried from 9:00 on the 2nd of December, 2018.
Likewise, a query for 2:00am on the 30th of September 2020 will again actually come from the data from 2:00 on the 2nd of December. 2018.
This is a //common// option - it will work on any and all ARDI drivers, as it is handled by the ARDI infrastructure itself.