Loading…
Loading…
Method Name: write_autocal_record_abort
Method ID: 0x434A
Method Label: Auto Calibration
Method Help:
- {
- int q;
- int q0;
- int q1;
- int q2;
- int q3;
- float qa;
- char S[3];
- long ids[2];
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_all_resp_code(1);
- _set_resp_code(8,0);
- ACKNOWLEDGE(literal_string(2631));
- if (((_ivar_value(16465) & 0x0008) == 0x0008) == 0 && (_ivar_value(16465) & 0x01C0) != 0x0100)
- {
- ACKNOWLEDGE(literal_string(2628));
- }
- _vassign(16452,16427);
- save_values();
- _get_dev_var_value(literal_string(2261),0,16452);
- save_values();
- remove_all_abort();
- if (_ivar_value(16452) > 0)
- {
- send_trans(136,2,S);
- if (!_ivar_value(16784))
- send_trans(136,0,S);
- if (_ivar_value(16784) != 16)
- {
- if (_ivar_value(16784) != 0)
- {
- if (SELECT_FROM_LIST(literal_string(2225),literal_string(2226)))
- {
- DELAY(2,literal_string(2227));
- process_abort();
- }
- }
- send_trans(136,1,S);
- send_trans(136,0,S);
- }
- q = 1;
- send_trans(129,35,S);
- if ((_ivar_value(16496) & 0x01) > 0 && _ivar_value(171) == 0)
- {
- q = 0;
- ACKNOWLEDGE(literal_string(2228));
- }
- if (_ivar_value(158) < 5 && _ivar_value(16508))
- {
- send_trans(129,2,S);
- send_trans(129,12,S);
- if (_fvar_value(16507) > 0.0 || _fvar_value(16506) > 0.0 || 0 != _ivar_value(16555))
- {
- ACKNOWLEDGE(literal_string(2229));
- if (_ivar_value(167) == 1)
- {
- q = 1 - SELECT_FROM_LIST(literal_string(2230),literal_string(2231));
- }
Please login for more