Loading…

Method Name: applied_rerange

Method ID: 0x1007

Method Label: Apply values

Method Help: Applied values- Perform a device rerange by applying the desired Upper Range Value and Lower Range Values to the device input


  • {
  • int rc;
  • int flags;
  • int selection;
  • int counter;
  • long varid[3];
  • char status[3];
  • char xmtr_status[25];
  • char disp_string1[60];
  • char disp_string2[60];
  • int slen1;
  • int slen2;
  • slen1 = 60;
  • slen2 = 60;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • ACKNOWLEDGE(literal_string(368));
  • _add_abort_method(4118);
  • varid[0] = resolve_record_ref(resolve_array_ref(172,1),191);
  • varid[1] = resolve_record_ref(resolve_array_ref(172,1),190);
  • counter = 0;
  • while (1)
  • {
  • _get_dictionary_string(19726364,disp_string1,slen1);
  • _get_dictionary_string(19726365,disp_string2,slen2);
  • switch (SELECT_FROM_LIST(disp_string1,disp_string2))
  • {
  • case 0:


Please login for more