![]() |
Enterprise
RTView®
User Guide |
Application Options To access the Application Options dialog, in the Display Builder select Tools>Options. Options specified in the SQL tab can be saved in an initialization file (OPTIONS.ini). On startup, the initialization file is read by the Display Builder, Display Viewer, Display Server, Data Server and Historian to set initial values. If no directory has been specified for your initialization files and OPTIONS.ini is not found in the directory where you started the application, then Enterprise RTView will search under lib in your installation directory. NOTE: When you start an Enterprise RTView application from the Windows Start menu, it runs from the demos directory. NOTE: Options specified using command line arguments will override values set in initialization files. SQL
When you add a database to the list it will be highlighted in yellow indicating that it is not connected. To attempt to connect to a database, click OK, Apply or Save. If the background remains yellow, then Enterprise RTView was unable make a connection to your database. NOTE: Databases that have been setup to Use Client Credentials will not connect unless you are logged in and you have objects in your display that are using that connection. Check your database connection and see SQL Database Connection Setup for information on how to set up your driver correctly. If the connection is successful, and the Get Tables and Columns from Database checkbox is selected, Enterprise RTView will use information from this database to populate drop down menus in the Attach to Data dialog with available tables and columns. If a database repository is found, information from your database will be merged with data from the repository file. If you deselect the Get Tables and Columns from Database checkbox Enterprise RTView will no longer query your database for this information, but the database repository will still be used to populate drop down menus. Using a database repository to populate drop down menus makes it possible to specify which tables and columns from your database will be listed in the Attach to Data dialog and gives you the ability to build displays while databases are offline. If you are using a direct JDBC connection or a password protected ODBC-JDBC bridge connection, you must click Save in order to record your options in OPTIONS.ini. This will allow Enterprise RTView to reconnect with your database the next time you run the Display Builder or the Display Viewer. NOTE: Regardless of which
tab you are currently working from in the Application Options dialog, each
time you click OK, Apply, or Save Enterprise RTView
will attempt to connect to all unconnected databases, except those that
have Use Client Credentials checked.
Default Database - Name of database used as the default for data attachments. Select from drop down menu to change default setting. Add
Database - Click to open the Add Database
dialog. To edit, select a database
from the list and double-click. Databases that
are updating objects in a current display cannot be renamed.
Remove Database - Select a database from the list and click Remove Database to delete. Databases that are updating objects in a current display cannot be removed. Suppress Permission Errors From Database - If selected, SQL errors with the word "permission" in them will not be printed to the console. This is helpful if you have selected the Use Client Credentials option for a database. In this case, your login does not allow access for some data in their display, you will not see any errors. Get Tables and Columns from Database - If selected, information from your database will automatically populate drop down menus in the Attach to Data dialog and you will be able to select from available tables and columns in your database. NOTE: If a database repository is found, information from your database will be merged with data from the repository file. Save Database Repository - Click to save a file that records available tables and columns in your database and applies values to drop down menus in the Attach to Data dialog.
Information stored in the database repository file will be used to populate the initial values of drop down menus in the Attach to Data dialog. NOTE: The saved file will be named sqlrepository.xml. If the name of the database repository file is changed, Enterprise RTView will not be able to locate the file. As a result, drop down menus will populate based on databases added from the Application Options dialog or those typed directly into the Attach to Data dialog. When you click Save Database Repository,
a confirmation dialog will appear to verify in which directory you would
like to save the database repository file. If
you specified a directory for your
initialization files, all repository files will be saved to, and read
from, that directory. If you select the
lib directory, the repository
file will be available from any directory where you
run Enterprise RTView. If you do not select the lib directory, the
repository file
will be saved in the directory where you started the current session and will
only be available when you run Enterprise RTView from that particular directory.
See SQL Database Connection Setup for details on editing an existing database repository file. Excluding Tables From The
Attach To SQL Data Dialog
|
|
|