_connect

The config _connect returns the query information for a data point element:

  • _dpIds = which data point elements belong to this connect group

  • _manids = which managers query this data point element

  • _mancount = how often does a manager query this data point element. See example below:

Query the information:

main()
{
  dyn_dyn_string ds;
  dyn_dyn_string as;
  dyn_dyn_int dui;
  dyn_dyn_int hui;
  dyn_dyn_int di;
  dyn_dyn_int fi;
  dpGet( "ExampleDP_Arg1.:_connect.._dpids", ds);
  /* Which data point elements belong to this connect group */
  dpGet( "ExampleDP_Arg2.:_connect.._manids", dui);
  /* Which managers query this data point element */
  dpGet( "ExampleDP_Arg1.:_connect.._mancount", di);
  /* How often does a manager query this data point element */
  dpGet( "testDp1.:_connect.._dpids", as);
  dpGet( "testDp1.:_connect.._manids", hui);
  dpGet( "testDp1.:_connect.._mancount", fi);
  DebugN( "ExampleDP_Arg1.:_connect.._dpids", ds,
  "ExampleDP_Arg2.:_connect.._manids", dui,
  "ExampleDP_Arg1.:_connect.._mancount", di);
  DebugN( "testDp1.:_connect.._dpids", as,
  "testDp1.:_connect.._dpids", hui,
  "testDp1.:_connect.._mancount", fi);
}