Loading…

Method Name: mwrite_device_variable

Method ID: 0x40F9

Method Label: Write device variables

Method Help: Use this method to force device variables.


  • {
  • char status[3];
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • PUT_MESSAGE(literal_string(701));
  • _get_dev_var_value(literal_string(702),0,4167);
  • _get_dev_var_value(literal_string(703),0,resolve_record_ref(resolve_array_ref(269,device_variable_code),4847));
  • if (deviceVariables[device_variable_code].SIMULATED == 0)
  • {
  • process_abort();
  • }


Please login for more