# Sources

Several sources can be added and it's data made available for binding.  Thse sources include HTTP GET of JSON file and also TCP/IP or UDP sources.&#x20;

Sources can be defined in the Sources Tab of the ScreensPro window.&#x20;

## Binding

A source can be accessed inside a layout by using bindings, e.g. `{Binding Sources.RaceResult.Value[0].BackgroundColor}`, where *RaceResult* is the Name of a source and *Value\[0]* the first element of the returned array.&#x20;

## Properties

The following properties are available, when using a HTTP REST (GET) source. They can be used by using `{Binding Sources.NameOfSource.Property}` where Property is of the following:

| Property   |           |                                                    |
| ---------- | --------- | -------------------------------------------------- |
| IsSuccess  | bool      | True if source could be loaded                     |
| ErrorText  | string    | Text of the error happened when loading the source |
| Exception  | Exception | Exception when loading the source                  |
| UpdatedAt  | DateTime  | Timestamp when source was updated                  |
| Duration   | TimeSpan  | Duration the source took to load                   |
| ValueText  | string    | Value of the source                                |
| StatusText | string    | Either ErrorText or ValueText                      |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dbnetsoft.com/dbnetsoft/screenspro/sources.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
