register_all_points
register_all_points — registers an application to receive exceptions for all
points.
register_all_points (domain?, newflag?)
domainThe DataHub domain in which to register.
newflagA flag determining whether to automatically register all future points from the DataHub instance.
This function registers the current application to receive exceptions
from the DataHub instance for all points in the given domain. Once this
function has been called, any changes to the value of any point in the DataHub
instance will be transmitted to the input queue of the application. These
changes are events, and as such must be processed by calling
next_event or next_event_nb
before the application will recognize the new value of the point.
If the domain is nil, then the current default domain
(set by set_domain) will be used. If the domain is
named, even if it is the default domain, then the DataHub instance will
transmit all points as fully qualified names, in the domain:name format. If
the newflag is given and is
non-nil, then any points which are created on the
DataHub instance after this call is made will be automatically registered. If
newflag is nil or not
provided, then the DataHub instance will not automatically register points
which were created since this call.
Gamma>register_all_points(nil,t);tGamma>write_point(#b,22);tGamma>next_event();nilGamma>b;22Gamma>register_all_points("plant",t);tGamma>