Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dgsb_wiki:getting_started:access_dsa_data [2018/10/02 23:25] 127.0.0.1 external edit |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{indexmenu_n>6}} | ||
- | ====== Access DSA Data ====== | ||
- | If you use DG Solution Builder with [[http://iot-dsa.org/|DSA data]], you access your data by first [[http://iot-dsa.org/download-dsa | installing DGLux5]], then starting a link, and finally configuring your connection. The steps to configure a connection are different for each [[http://iot-dsa.org/how-it-works|DSLink]]. To discuss DSLink questions, use these [[http://iot-dsa.org/community | community resources.]] | ||
- | |||
- | ---- | ||
- | |||
- | ===== Add a new DSLink ===== | ||
- | You can add DSLinks when you install your DG Solution Builder package, or you can add them later. To add a link after installation: | ||
- | |||
- | - Click the [[dgsb_wiki:workspace_and_workflow:panels_and_menus:data_panel|Data panel]] tab behind the [[dgsb_wiki:workspace_and_workflow:panels_and_menus:project_panel|Project panel]]. | ||
- | - Expand **sys**, and right-click **links**. | ||
- | - <WRAP>Choose one of these installation methods: | ||
- | * **Install Link from Git** โ Enter the download URL and the name that you want to appear in DG Solution Builder, and click **Invoke**. | ||
- | * **Install Link from Zip** โ Enter the download URL for the file and the name that you want to appear in DG Solution Builder, and click **Invoke**. | ||
- | * **Install Link** โ Select the link from the drop-down list, enter a name to appear in DG Solution Builder, and click **Invoke**. | ||
- | When the installation is successful, the value for **success** becomes TRUE.</WRAP> | ||
- | |||
- | ---- | ||
- | |||
- | ===== Access DSLink Data ===== | ||
- | These steps show you how to access a Dart Weather DSLink, as an example. | ||
- | - Log in to DG Solution Builder, Server edition. | ||
- | - Start the data connection: | ||
- | - In the [[dgsb_wiki:workspace_and_workflow:panels_and_menus:data_panel|Data panel]], expand **sys** > **links**. | ||
- | - <WRAP>Right-click ''dslink-dart-weather'', and select **Start Link**. | ||
- | |||
- | If ''dslink-dart-weather'' does not appear, follow the steps to [[#add_a_new_dslink|add it]].</WRAP> | ||
- | - Specify the data to track: | ||
- | - In the Data panel, expand **downstream**. | ||
- | - <WRAP>Right-click **Weather**, select **Create Tracker**, enter the name of a city, and click **Invoke**. | ||
- | | ||
- | The city appears as a tree node below **Weather**.</WRAP> | ||
- | - <WRAP>In the Data panel, click the name of the city. | ||
- | | ||
- | Current weather data appears in the [[dgsb_wiki:workspace_and_workflow:panels_and_menus:metrics_panel|Metrics panel]].</WRAP> | ||
- | - <WRAP>In the Metrics panel, find the relevant data point or metric. | ||
- | | ||
- | You can drag the relevant point or metric to a [[dgsb_wiki:widgets_and_property_inspector:components:home|component]] such as a [[dgsb_wiki:widgets_and_property_inspector:components:text:home|text component]]. This opens the [[dgsb_wiki:bindings:home#binding_dialog|binding dialog]]. From this dialog, you can control the formatted or calculated value that appears in the component. | ||
- | |||
- | {{:dgsb_wiki:getting_started:getting_started_10.png?direct|}}\\ | ||
- | //Using a DSA data metric// | ||
- | </WRAP> | ||
- | |||
- | ---- | ||
- | |||
- | <WRAP left>[[dgsb_wiki:getting_started:deploy_project|Previous: Deploy a Project]]</WRAP> | ||
- | <WRAP right>[[dgsb_wiki:getting_started:access_data|Next: Access Other Data]]</WRAP> | ||