| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (5 out of 22)

Data Server Parameters

The Data Server Parameters system table lets you control data service.

Specifying a Data Server Alias

The Data-server-aliases attribute lets you substitute an alternate name for one or more data servers. For example, you could use this attribute to create aliases for each of the available data servers. The syntax for defining a data server alias is:

An example is:

GFI and the G2 Simulator are superseded capabilities. For more information, see Appendix F, Superseded Practices.

More than one alias can imply service through the same data server. Thus, both robot-controller and process-computers imply service through the G2 Gateway data server.

Once an alias exists, you can use it in the Data-server attribute of a variable to indicate where G2 obtains a new current value for a variable, though G2 does not include a Text Editor prompt for any aliases.

Specifying Data Service Scheduling Priority

The Priority-of-data-service attribute specifies the default priority at which G2 schedules data server requests.

For more information about scheduling, see Chapter 46, Task Scheduling.

Turning on G2 Meters

The G2-meter-data-service-on? attribute determines whether variables that have G2-meter as their data server receive values.

Although meters use only a small fraction of the available processing time, you may want to deactivate them when the KB does not need them. To do this, set this attribute to no. To activate any enabled meters, set this attribute to yes.

If a KB has enabled G2 meter variables and this attribute is set to no, G2 signals an error. Disable any G2 meter variables to prevent that error.

For a complete description of using G2 meters, see Chapter 44, G2-Meters.

Class-Specific Attributes of Data Server Parameters

The class-specific attributes of the Data Server Parameters system table are:

Attribute Description
Data-server-aliases
Specifies which data server is implied by each data server alias.
Allowable values:
dataserver-alias-symbol implies data service through
{inference engine |
g2 simulator |
g2 meter |
g2 data server |
gfi data server |
gsi data server }

GFI and the G2 Simulator are superseded capabilities. For further information, see
Appendix F, Superseded Practices.
Default value:
none


Priority-of-data-service
Determines the priority at which tasks are scheduled to service data servers, by specifying an integer between 1 and 10. The highest priority is 1.
Allowable values:
1 - 10
Default value:
4


G2-meter-data-service-on?
Controls whether G2 meter variables receive values.
Allowable values:
yes
no

Default value:
no

| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (5 out of 22)

Copyright © 1997 Gensym Corporation, Inc.