Loading…
Loading…
Method Name: device_variable_trim
Method ID: 0x1080
Method Label: Device variable trim
Method Help: Device Variable Trim- Allows for the calibration measurement of a device variable to be adjusted linearly. The trim point that is sent to the device must represent the presently applied process variable value.
- {
- char status[3];
- char disp_string1[135];
- char disp_string2[60];
- long var_id[2];
- int trim_code;
- int doneLowTrim;
- int retry;
- int slen1;
- int slen2;
- float trim_point;
- float trim_min;
- float trim_max;
- slen1 = 135;
- 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);
- _get_dictionary_string(19726406,(disp_string1),(slen1));
- ACKNOWLEDGE(disp_string1);
- do
- {
- doneLowTrim = 0;
Please login for more