Loading…
Loading…
方法名称: high_cv_tuning_SUBROUTINE
方法ID: 0x46E6
方法标签: Device Setup
方法描述: Prompts the user for pressure information and to select subsequent menu items for instrument setup. Note: All items on the Auto Setup menu must be selected in order for basic setup.
- {
- float mpp;
- char S[3];
- long ids[5];
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_all_resp_code(1);
- _set_resp_code(8,0);
- send(151,S);
- if (_ivar_value(16804) > 2)
- {
- ACKNOWLEDGE(literal_string(2015));
- return;
- }
- ;
- if ((_ivar_value(16532) & 0x18) > 0 & (_ivar_value(17857) & 0x01) > 0)
- {
- switch (_ivar_value(16434))
- {
- case 6:
- mpp = _fvar_value(16947);
- break;
- case 12:
- mpp = _fvar_value(16947) * 0.1450377;
- break;
- case 7:
- mpp = _fvar_value(16947) * 14.50377;
- break;
- case 10:
- mpp = _fvar_value(16947) * 14.2233;
- break;
- default:
- ACKNOWLEDGE(literal_string(2015));
- process_abort();
- break;
- }
- if ((_ivar_value(16532) & 0x18) == 8)
- {
- switch (_ivar_value(17856))
- {
- case 2:
- _fassign(16552,1.70);
- _fassign(16553,15.0 * mpp / 60);
- _fassign(16525,0.020);
- press_int_settings_enab = 1;
- break;
- case 3:
- _fassign(16552,4.50);
- _fassign(16553,10.0 * mpp / 60);
- _fassign(16525,0.038);
- press_int_settings_enab = 0;
- break;
- case 4:
- _fassign(16552,6.10);
- _fassign(16553,10.0 * mpp / 60);
- _fassign(16525,0.041);
- press_int_settings_enab = 0;
- break;
- case 5:
- _fassign(16552,7.70);
- _fassign(16553,10.0 * mpp / 60);
- _fassign(16525,0.045);
- press_int_settings_enab = 0;
- break;
- case 6:
- _fassign(16552,9.00);
- _fassign(16553,10.0 * mpp / 60);
- _fassign(16525,0.049);
- press_int_settings_enab = 0;
- break;
- case 7:
- _fassign(16552,10.60);
- _fassign(16553,10.0 * mpp / 60);
- _fassign(16525,0.050);
- press_int_settings_enab = 0;
- break;
- case 8:
- _fassign(16552,12.30);
- _fassign(16553,10.0 * mpp / 60);
- _fassign(16525,0.050);
- press_int_settings_enab = 0;
- break;
- case 9:
- _fassign(16552,13.90);
- _fassign(16553,10.0 * mpp / 60);
- _fassign(16525,0.050);
- press_int_settings_enab = 0;
- break;
- case 10:
- _fassign(16552,15.50);
- _fassign(16553,10.0 * mpp / 60);
请登录以获得完整内容