Live Data grid - Live Data Logon view
This view is used to specify connections to one or more telemetry databases.
The view is displayed by double-clicking a live data configuration object in the Model Group window, then selecting the Live Data Logon tab.
Notes:
- Data in this view can be entered manually or updated in bulk from CSV files (using the Open Data Import Centre) or directly from Info360 (see Connecting to Info360 telemetry).
- The telemetry feeds are linked to live data points in the Live Data Point view. Live data points are in turn associated with a network object in the control via the Live Data Point ID field.
- To test that a connection has been set up correctly, you can right-click a grid row and select Test connection.
Item | Description | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Left-most column |
If clicked, selects the whole row. A forward triangle indicates the current row. An asterisk indicates where a new object can be created by entering its details (in this case, a connection name). |
||||||||||||||||||||||||||||||||||
Fields |
|
||||||||||||||||||||||||||||||||||
Main context menu optins |
|
ODBC connection information
Connection using the Microsoft ODBC Administrator program
- Use the 32-bit or 64-bit version of the Microsoft ODBC Administrator program (odbcad32.exe), as appropriate, to configure the ODBC adaptors.
- The File DSN method of setting data sources in the ODBC Administrator program is probably the most useful because the file can be stored in a network location.
- The database type must be set to ODBC.
- The logon type should be set to Username / Password and the username and password set and saved in this view.
- A value must be set for command timeout(s).
- The string used to open the live data source must be set as the connection string. Examples:
- DSN=Newtown where Newtown is the user data source entered in the File DSN tab or the System DSN tab of the ODBC Administrator program.
- FILEDSN=d:\ora.dsn where ora.dsn is the Oracle user data source specified in the File DSN tab of the ODBC Administrator program. Also, the path must be specified in the field when using File DSN.
- Connection strings can be used for testing purposes, because ODBC can connect to Excel spreadsheets and CSV files:
- When using Excel spreadsheets, the worksheet names will appear as choices in the table names (Table Name field) in the Live Data Feed view .
- When using CSV files, the file names will appear as choices in the table names (Table Name field) in the Live Data Feed view.
Connection to Microsoft Azure datawarehouse
- You can connect to the cloud-based Microsoft Azure datawarehouse via the ODBC connection type.
- You should create an ODBC data source (ODBC Driver 12/13 for SQL Server) and specify the Azure connection, username and password in the DSN configuration.
- You will then be able to select the created ODBC data source from within live data configuration.
CSV database connection information
- This database type is recommended only for testing.
- The CSV database type can make use of text files containing date, time, and value data in one of two formats:
- UK date format - for example, 12/02/2012 09:00:00,0.481 (alternatively without seconds: 12/02/2012 09:15,0.483).
- ISO date format - for example, 2011-04-21T00:00:00,2.13 (alternatively 2011-04-21 00:05:00,2.15).
- The Database Type field must be set to CSV.
- The Filename / Folder field must contain the location of the text file. You cannot browse to this location in the grid, so copy from Windows File Explorer and paste it into the cell.
- On the Live Data Feed view:
- You must enter values for Offset, Factor, TimeWindow (min), and Adaptor.
- For the Table Name field, you must choose a file with CSV data in it. This drop-down list contains any files in the location you entered in the Filename / Folder field on the Live Data Logon page.
- You can test that the data will be read correctly:
- On the Live Data Feed page, right-click any cell for the CSV feed that you want to test, then choose Test feed.
- On the Test Feed dialog, enter a time range that corresponds to the data in the CSV file you want to test, then click Test Time Range. A dialog reports the results.
- Click OK. If there any results, they are shown in the Results section of the Test Feed dialog.