Loading…
Loading…
Method Name: dv_trim_reset
Method ID: 0x41D0
Method Label: Sensor 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 slen1;
- int slen2;
- float lower_trim_point;
- float upper_trim_point;
- int var_id[2];
- int snsr;
- 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(19726337,disp_string1,slen1);
- ACKNOWLEDGE(disp_string1);
- _add_abort_method(4118);
- _get_dictionary_string(19726356,disp_string1,slen1);
- ACKNOWLEDGE(disp_string1);
- device_variable_trim_code = CalibDisplayCode * 3 + 1;
- snsr = CalibDisplayCode + 1;
Please login for more