Loading…
Loading…
Method Name: xmtr_cal
Method ID: 0x4037
Method Label: Калибровка по 2 точкам
Method Help: Two Point Calibration - Calibration procedure where two different pressures are used, typically at or near the Lower Range Value and Upper Range Value of the transmitter.
- {
- long varid[4];
- char status[3];
- char disp_string1[100];
- char disp_string2[100];
- int slen1;
- int slen2;
- int retry;
- float low_cal_pt;
- float high_cal_pt;
- slen1 = 100;
- slen2 = 100;
- varid[0] = resolve_record_ref(resolve_array_ref(172,1),205);
- varid[1] = resolve_record_ref(resolve_array_ref(172,1),204);
- varid[2] = resolve_record_ref(resolve_array_ref(172,1),190);
- varid[3] = resolve_record_ref(resolve_array_ref(172,1),191);
- low_cal_pt = _fvar_value(resolve_record_ref(resolve_array_ref(172,1),205));
- high_cal_pt = _fvar_value(resolve_record_ref(resolve_array_ref(172,1),204));
- _set_all_resp_code(0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _get_dictionary_string(19726337,disp_string1,slen1);
- ACKNOWLEDGE(disp_string1);
Please login for more