Loading…
Loading…
Method Name: DOPressureTrim
Method ID: 0x4077
Method Label: DO Trim Adjust
Method Help: This trim selects units for altitude/pressure and edits values.
- {
- char acStatus[3];
- char disp_string1[60];
- int wChoice;
- int wRetry;
- int slen1;
- int wUnits;
- long dwVarId[1];
- slen1 = 60;
- wRetry = 0;
- _set_all_resp_code(0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- iOneLowUnsignedIntegerIndex = 19;
- send_command(143);
- wChoice = select_from_list(literal_string(1474),dwVarId,literal_string(1471));
- if (wChoice == 1)
- {
- _get_dev_var_value(literal_string(1472),0,16442);
- do {
- send(144,acStatus);
- if (acStatus[0] == 35 || acStatus[0] == 36)
- {
Please login for more