Loading…
Loading…
Method Name: device_variable_trim_reset
Method ID: 0x1083
Method Label: Trim Reset
Method Help: Device Variable Trim Reset- Allows for the device variable to be set to its default factory trim.
- {
- char status[3];
- char disp_string1[100];
- char disp_string2[60];
- char ack;
- int trim_units;
- int slen1;
- int slen2;
- float lower_trim_point;
- float upper_trim_point;
- slen1 = 100;
- slen2 = 60;
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _get_dictionary_string(19726356,disp_string1,slen1);
- ACKNOWLEDGE(disp_string1);
- _get_dev_var_value(literal_string(894),0,4223);
- send(80,status);
- if (status[0])
- {
- display_response_status(80,status[0]);
- _get_dictionary_string(19726342,disp_string1,slen1);
Please login for more