Escolar Documentos
Profissional Documentos
Cultura Documentos
CAUTION
Indicates a procedure, practice,
condition, or statement that, if not
strictly observed, could result in
damage to or destruction of
equipment.
Table of Contents
Safety Symbol Legend .............................................................................................1
Functional Description ............................................................................................1
Installation................................................................................................................4
Computer Requirements ..........................................................................................4
Installing the SDB....................................................................................................4
Procedures for Starting and Stopping ...................................................................5
Register and Start the Server in Windows NT .........................................................5
Starting the Server in Windows 95 ..........................................................................6
Stopping the Server in Windows NT ......................................................................7
Stopping the Server in Windows 95 .......................................................................8
Stopping the Server After an Uninstall ....................................................................8
Upgrading SDB Server ............................................................................................9
Using SDB Server Control ....................................................................................10
SDB Server Control Commands ..............................................................................10
SDB Server Control-Advanced Commands.............................................................11
Maintenance Commands..........................................................................................11
SDB Version Upgrade .............................................................................................12
SDB Browser ..........................................................................................................14
Functional Description
Refer to the figure on page 2.
In Windows NT, the SDB
Server runs as an NT Service.
The SDB is a Windows-based Client/Server that uses .dbf files to store data. This
database allows different configurations within a tool (such as in the Control System
Toolbox) or even different tools to share signals.
The SDB Server is a program that runs in the background and reads or writes data to
the SDB at the request of the toolbox and other applications. It can run on a PC that
is remote from the toolbox or other applications. The toolbox and other applications
communicate with the SDB Server over Ethernet using Transmission Control
Protocol/Internet Protocol (TCPIP).
The SDB Server Control is an application used to start and stop the SDB Server. It
also performs maintenance functions on the SDB.
Ethernet is a trademark of Xerox Corporation.
Windows is a registered trademark of Microsoft Corporation.
Windows NT is a registered trademark of Microsoft Corporation.
The following figure show the data flow between the SDB Server, SDB Server Control, SDB database, and
toolbox devices.
Ethernet
SDB Server
Control
program
(dbsrvctl.exe)
Toolbox
OC2000
device
Toolbox
UC2000
device
Post
User control
SDB Server
Bind
program
(dbserver.exe)
Must be in same PC
Optionally over Ethernet
SDB
Database
(set of .dbf
files)
SDB Database is located on hard
disk at a specified location:
c:\csi\csi_sdb
Installation
Computer Requirements
The minimum computer requirements to use the SDB are as follows:
A cursor positioning device
(such as a mouse) is highly
recommended, however the
SDB Server Control can
operate using cursor and
function keys.
16 MB RAM
Ethernet card to interface to remote applications that require data from the SDB
GEI-100189A
The SDB Server is used to access the SDB database. The SDB Server files are stored
in a subdirectory called bin, which is based on the user defined install directory.
These files include the SDB Server program, the SDB Server Control program, and
required Dynamic Link Libraries (dll)s. Help files are also located in the bin
directory.
The Setup program installs the required components and checks available disk space
before copying files. The installation location for the SDB is specified by the user in
the Setup program. The default installation directory is c:\sdb. Use the Choose
Destination Location dialog box to choose another directory. The SDB can be
installed from disks or from a network drive.
Note If the SDB is upgraded or reinstalled, the last installation location is used as
the default location.
To install from disks
1.
2.
3.
Follow the Setup instructions from the screen to install the remaining disks.
1.
2.
3.
4.
The Choose Destination Location dialog box appears. The default directory
is C:\ SDB. To choose another directory, click on Browse
5.
The Setup program adds icons to the group/folder listed. You may type a new
group/folder name or choose one from the list. Click Next to continue. Setup
automatically continues to load program files. The Information dialog box
informs you when the installation is complete.
Product Compatibility
The following table lists products and the minimum required version to maintain
compatibility in the system for this version of the SDB Server. Refer to the
respective product documentation for additional dependencies within each product.
GEI-100189A
Product
Order Number
Publication
Version V03
SDB
DS206SDBS
GEI-100189
V03.03.00C
DS206GT4C0304
GEH-6372
V03.00.00C
GE Control System
Toolbox
DS206TBOX
GEH-6333
V03.02.00C
On a Windows NT PC, the SDB Server runs as a Service. When the SDB Server is
first installed, it will be registered with the NT Service manager by the installation
program and then started. Once registered, reinstallation of the SDB Server will not
require registration, unless the location of the SDB Server changes. The user can
register and unregister the SDB Server manually using the following procedure.
However, under normal circumstances this should not be necessary.
To register and start the SDB Server in Windows NT
SDB Server
1. From the SDB Server Program folder, double-click on
Control icon. The SBD Server Control dialog box displays. The SDB Server
Status should read SDB Server Not Registered.
2.
Click Register. This places the SDB Server into the NT Services. The SDB
Server Status should now read SDB Server Stopped.
3.
Click Start. The SDB Server starts and the SDB Server Status should now read
SDB Server Running.
4.
Click OK. The SDB Server continues to run, even if there is not a log on
session. If the PC is rebooted, the SDB Server restarts automatically.
Start button.
1.
Click Windows
2.
GEI-100189A
Note If the SDB Server window displays and then disappears, there is probably an
SDB Server already running. Only one SDB Server can run at a time.
TEXT MESSAGES
MINIMIZE BUTTON
GEI-100189A
1. Click on
4.
5.
A message displays in the Results text box that the SDB Server has been
locked.
6.
Click on OK. The SDB Maintenance dialog box closes and the SDB Server
Control dialog box displays again.
7.
Click on the Stop button. The SDB Server Status text box should read SDB
Server Stopped.
GEI-100189A
8.
When the PC is rebooted, the
SDB Server is restarted in an
unlocked mode.
Click on OK to exit.
It is now safe to power down the PC, or install a new version of the SDB. When the
PC is rebooted, the SDB Server restarts automatically in an unlocked mode. If a new
SDB Server is installed, then the SDB Server will be restarted on installation.
2.
From the Task bar click on the SDB Server icon to restore the Server window.
3.
Press Ctl+C. The SDB Server stops executing. The window closes and the SDB
Server is shutdown.
Choose Exit, click on Next and then use the following steps to stop the Server.
GEI-100189A
From either the File Manager or Start/Settings choose the Control Panel.
2.
From the Control Panel, choose and open Services. The following dialog
box displays.
3.
4.
A message box displays to confirm the stop command. Click Yes. The SDB
Server is stopped. Follow the following installation instructions to load another
version.
This section describes how to upgrade to a new version of the SDB Server.
Upgrading to a newer version of the SDB Server requires only that the previous
server is first locked, stopped, and then uninstalled.
CAUTION
The new version cannot be installed until the Server is stopped
and uninstalled (see the section Stopping the Server in
Windows NT or Windows 95). If you forget to stop the Server,
follow the instructions in the section, Stopping the Server From
The new version can then be installed as described in the installation section of this
document. If the old version of the SDB Server is registered, then it is not necessary
to register the new version after installation.
GEI-100189A
2.
Uninstall SDB
From the SDB Server program group/folder, click on
Server icon. For windows NT 4.0 or greater, from the Control Panel, doubleclick on the Add/Rem Programs icon. From the Install/Uninstall tab, click
on SDBServer, click on Add/Remove.
3.
The Uninstall procedure may ask to delete programs and .dlls that are not used
anymore. Answer Yes to all.
4.
When Uninstall is complete, install the new version of the SDB Server. Follow
the instructions for installing the SDB Server on page 2 of this document.
5.
GEI-100189A
1.
2.
3.
The Uninstall procedure may ask to delete programs and .dlls that are not used
anymore. Answer Yes to all.
4.
When the Uninstall is complete, install the newer version of the SDB Server.
Follow the instructions for installing the SDB Server on page 2 and starting the
SDB Server on page 3.
SDB Server Status text box displays the current state of the SDB Server. Possible
states are described in the table below.
SDB Server Status Descriptions
Status Text
Description
Refresh displays the latest state of the server. Since the SDB Server can be
controlled from NT services, the state of the SDB Server could change while the
SDB Server Control dialog box is active. The Refresh command causes the SDB
Status text box to display the most current state of the SDB Server.
Explain obtains further details for the current SDB Server Status. It displays
additional information for the Not Registered and Not Installed states.
GEI-100189A
Register records the SDB Server with the NT Services system. The SDB Server
must be registered before it can be started. The Installation process automatically
registers the Server.
Start is used to start the SDB Server after it has been registered, or stopped.
Stop is used to stop the SDB Server. The SDB Server will stop even if an
application is accessing an SDB through the Server. The applications connection to a
database through the SDB Server will be terminated when the Server is stopped.
Refer to the section to stop the Server for Windows NT or Windows 95.
Advanced displays and enables more detailed control commands. Refer to the
section Server Control-Advanced Commands.
UnRegister stops the SDB Server (if it was running), and causes the SDB Server to
be removed from the NT Services table. The user must exit from the SDB Server
Control dialog box for the UnRegister command to be effective.
Auto Start Mode configures the SDB Server to start up automatically when the PC
is rebooted. This is the default setting.
Manual Start Mode configures the SDB Server to require the user to start the
Server after the PC is rebooted.
Advanced is a toggle command button that displays the advanced functions of the
SDB Server Control.
GEI-100189A
Maintenance Commands
The following commands are available when the Maintenance button is chosen:
Save stores the database name that is chosen in the Selected DB Name text box to
the SDB Server registry entry. (The databases previously saved are shown in the
drop-down list box when the SDB Maintenance dialog box is invoked.)
Delete removes the database name that is chosen in the Selected DB Name text box
from the SDB Server registry entry.
Note Save and Delete commands have no effect on the actual SDB database on the
SDB Server.
Selected DB Name drop-down list box contains all saved database names or a user
entered name. Choose the database to use with the Check SDB and Fix SDB
command buttons.
Refer to the section SDB
Browser.
Browse SDB displays the SDB Browser. SDB Browser allows the user to read
data from the database.
Check SDB checks all tables in the database for records that are marked for
deletion. If no marked records are found, then the database is OK. Tables that contain
marked records display in the text box at the bottom of this dialog box.
Fix SDB repairs all tables that did not check out OK. This procedure performs two
tasks. First it packs all tables in the selected database. Then, it regenerates indexes
for all tables. Regenerating indexes can solve problems when the SDB Server is
reporting duplicate records and no duplicates can be found in the data tables.
GEI-100189A
Check Dups checks the signal table for duplicate signal names. Normal activities
against the SDB will fail because the signal table cannot be opened with duplicated
records. The signal table can obtain duplicated names, if the server file system
becomes corrupt (such as a power loss) or if an external program loads the SDB
tables. Check Dups opens the signal table without an index, and then lists the
signal(s) that are duplicated. Once the extra signal(s) are found, a database program
that can work with *.dbf files (such as MicroSoft Access), can delete the records.
Then, use Fix SDB to pack the signal table.
Lock Server will lock the SDB Server, so that applications cannot read or write to
any SDB accessed through the SDB Server. The lock will not take effect until all
processing (such as posting) is finished. When the lock is effective, applications
attempting to access the SDB receive an error message that the Server is locked.
UnLock Server will unlock the SDB Server and allow applications to access the
SDB. The SDB Server always starts in an unlocked state.
Results text box displays the return messages for the Check SDB and Fix SDB
procedures.
Selected Upgrade displays the versions that are available to upgrade a selected
SDB database.
Execute Upgrade causes the SDB Server Control to upgrade the selected database
from one version to another (based on the selection in Selected Upgrade).
The upgrade procedure modifies the structure of the selected SDB without losing
current data. If a new field is added to a table, then default data is placed in the new
field for all rows.
Note It is recommended to backup the SDB before performing an upgrade. (Use
File Manager and copy to a safe place or backup to tape.)
The following instructions presume that the SDB Server is at the correct version. For
example, to upgrade the database from Version 2 to Version 3, install the Version 3
SDB Server first. Once installed, then the SDB database can be upgraded.
Note This upgrade procedure is not available for SDB Servers that run on Win95.
GEI-100189A
2.
3.
From the SDB Server Control dialog box click on the Advanced button and
then the Maint button. The SDB Maintenance dialog box displays.
4.
Click on Lock Server (to ensure no one is posting or writing to the SDB).
Click on OK. The SDB Server Control dialog box displays again.
5.
Click on Stop.
6.
Click on the Maint button (if it is not visible, then click on Advanced first).
The SDB Maintenance dialog box displays.
7.
From Selected DB name, choose the database or enter a location and name.
8.
9.
10. When the upgrade is complete, click on OK. The SDB Server Control dialog
box displays.
11. Click on Start. Click on OK to exit the SDB Server Control program.
SDB Browser
The SDB Browser is a separate window, which can help the user find items (such as
signal usage from the different types of devices), display the topology of a system,
perform a filtered signal search on the SDB, and more.
To start the SDB Browser
1.
From the SDB Server Control dialog box, click on the Advanced button and
then the Maint button. The SDB Maintenance dialog box displays.
2.
Make sure the name of the database is in the Selected DB name text box.
GEI-100189A
3.
Click on the Browse SDB button. The SDB Browser window displays.
The SDB Browser displays the following shortcut buttons on the Toolbar:
Toolbar
Use To
The pushpin determines whether or not the Browser Window is held
open or closed. If this pushpin is displayed, the Window closes when the
area outside the Browser Window is clicked. Click on the pushpin to
keep the Browser displayed on top of the Device Window, even when
clicked outside the Finder Window.
This pushpin displays when the pushpin above is clicked on. The
Browser Window remains open and on top of the screen when the
pushpin is in this position (even when working in another window).
Hide all tabs and make the Browser window display only the Output
View.
Load signal query settings from a file.
Save the current signal query settings to a file.
Print the signal query results in the Output View (to produce a hard
copy).
Delete a device and all signals owned by the device from the SDB
database.
GEI-100189A
Signal Tab
From the SDB Browser, choose the tab Signal. This tab contains the button,
Query and Output View to display the finished query .
To perform a signal query
1.
From the tab Signal, click on Query. The Query Design dialog box is
displayed.
Each attribute of an SDB signal is represented by a Field column in the Query
Design dialog box. The order of the columns in the dialog box determines the
order of the columns when the results of the query are displayed in the Output
View. This order can be changed by clicking on the columns to highlight them
and drag-and-drop to a new location.
2.
Click on the column/cell to highlight it. Choose the Sort and Visibility for each
field. Edit the order of the columns, if desired.
Sort is a drop-down list to arrange the order of multi-columns by choosing
None, Ascending, or Descending. Sort order is from left to right and the
default is None.
Visibility is a drop down list to Show or Hide a field (column) to minimize the
size of the Output View results. Show is the default.
3.
4.
GEI-100189A
The following are examples of entering multiple criteria in the Query Design dialog
box:
GEI-100189A
Topology Tab
To display topology information
The
the Finder.
button starts
1.
2.
VIEW OPTIONS
OUTPUT VIEWS
The left Output View displays devices, networks, and pages in a tree hierarchy. Click
on item in the tree to highlight it. The right Output View displays detailed
information about the item highlighted. Control how this information is organized by
choosing one of the following options:
View by device displays all devices in the SDB as shown below. When expanded,
each device lists all the networks that the device is connected to and each network
lists of all pages that the device owns on that network.
GEI-100189A
View by Network displays all networks in the SDB as shown below. When
expanded, each network lists all the devices connected to that network and each
device name lists all pages that the device owns on that network.
button starts
1.
2.
3.
Click on Update button. The Where Used Output View displays the location
where the signal is used as shown below.
The display window displays all the devices that use the signal uc1\fdlo1\sig2. In
order for a device to display in this list, it must have referenced the above signal in its
code, and performed a successful bind against the SDB for that signal.
GEI-100189A
Alarms Tab
To display alarm information
Click
information.
to display
1.
2.
Click on Update button. The Alarms Output View displays as shown below.
Scale Tab
To display scale information
Click
information.
to display
1.
2.
Click on Update button. The Scale Output View displays as shown below.
GEI-100189A
NetGroups Tab
To display net group information
Click
information.
to display
1.
2.
Resources Tab
To display resources information
Click
information.
GEI-100189A
to display
1.
2.
GEI-100189A
Issue Date: March 1997
1997 by General Electric
Company, USA.
GEI-100189A