int fwDim_subscribeService(string config, string service_name, string dp_name, string defaultv, int timeout = 0, int flag = 1, int immediate_update = 1, int save_now = 0)

Subscribe to a new DIM Service

Documentation

Subscribe to a new DIM Service.

Usage: JCOP framework internal, public

PVSS manager usage: VISION, CTRL

Parameters:
config - : To which config should this service be added
service_name - : DIM Service Name
dp_name - : Data point (or DP element) that receives the DIM service contents
default_value - (optional): The default value if the service is not available or empty string (default)
timeout - (optional): The time interval in seconds for periodic reception - 0 for on change (default)
flag - (optional): quality and time-stamp flag - 1 for quality (default), 2 for time-stamp, 3 for both
immediate_update - (optional): 1 means update value when first connected (default)
save_now - (optional): 1 means save DimConfig immediately, 0 means optimize, i.e. wait to see if more changes comming (default)

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.