Loading…
Loading…
Method Name: ExceptionLogMethod
Method ID: 0x4118
Method Label: Exception Log
Method Help:
- {
- char status[3];
- char xmtr_status[25];
- char disp_string1[60];
- int wSlen1;
- int wLocalProbeType;
- int wIndex;
- int wDIndex;
- int wLocal_error;
- long var_id[3];
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- wSlen1 = 60;
- _get_dictionary_string(19726342,disp_string1,wSlen1);
- var_id[0] = 16596;
- var_id[1] = 16589;
- var_id[2] = 16590;
- _iassign(16592,1);
- send_command(0x97);
- wLocalProbeType = _ivar_value(16389);
- for (wIndex = 0; wIndex < 20; wIndex++)
- {
- _iassign(16596,wIndex);
- wDIndex = wIndex + 1;
- send(0xA2,status);
- wLocal_error = _ivar_value(16588);
- if (wLocalProbeType == 4)
- {
- switch (wLocal_error)
- {
- case 0:
- acknowledge(literal_string(419),var_id);
- break;
- case 1:
- acknowledge(literal_string(419),var_id);
- break;
- case 2:
- acknowledge(literal_string(419),var_id);
- break;
- case 3:
- acknowledge(literal_string(420),var_id);
- break;
- case 4:
- acknowledge(literal_string(421),var_id);
- break;
- case 8:
- acknowledge(literal_string(422),var_id);
- break;
- case 11:
Please login for more