Loading…
Loading…
Method Name: two_point_calibration
Method ID: 0x414D
Method Label: Two-point Calibration
Method Help: Automatic calibration using two known thicknesses on a step plate.
- {
- char status[3];
- char disp_string1[135];
- char disp_string2[60];
- int trim_code;
- int trim_units;
- int doneCalibrating;
- int retry;
- int slen1;
- int slen2;
- float trim_point;
- float trim_min;
- float trim_max;
- float velocity;
- float offset;
- float gateStart;
- 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(19726356,disp_string1,slen1);
- ACKNOWLEDGE(disp_string1);
- do {
- doneCalibrating = 0;
- do {
- retry = 1;
- _get_dev_var_value(literal_string(855),0,4223);
- send(81,status);
- if (status[0])
- {
- display_response_status(81,status[0]);
- if (status[0] != 17 && status[0] != 19)
- {
- _get_dictionary_string(19726342,disp_string1,slen1);
Please login for more