Loading…

Method Name: DOSalinityTrim

Method ID: 0x4070

Method Label: DO Salinity Adjust

Method Help: This trim edits the salinity value.


  • {
  • char acStatus[3];
  • char disp_string1[60];
  • int wRetry;
  • int slen1;
  • 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);
  • iOneLowFloatIndex = 28;
  • send_command(137);
  • _get_dev_var_value(literal_string(1462),0,16443);
  • do {
  • send(138,acStatus);
  • if (acStatus[0] == 35 || acStatus[0] == 36)
  • {
  • display_response_status(138,acStatus[0]);
  • _get_dictionary_string(19726342,disp_string1,slen1);
  • DELAY(2,disp_string1);
  • process_abort();
  • }


Please login for more