Loading…

Method Name: selectAvgInterval

Method ID: 0x405D

Method Label: Set Avg Interval

Method Help: Select a time collection interval for Min, Max and Average readings


  • {
  • char status[3];
  • int result;
  • int interval;
  • int slen1;
  • long ids[1];
  • char disp_string1[135];
  • slen1 = 135;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • interval = SELECT_FROM_LIST(literal_string(348),literal_string(349));
  • switch (interval)
  • {
  • case 0:
  • _iassign(16414,1);
  • break;
  • case 1:
  • _iassign(16414,8);


Please login for more