Loading…

Method Name: DOPressureTrim

Method ID: 0x4070

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 = 55;
  • send_command( 143 );
  • wChoice = select_from_list("|en|Change units from %{eHACHPressureAndAltitudeUnits}?", dwVarId,"|en|No;Yes" );
  • if( wChoice == 1 )


Please login for more